diff --git a/Directory.Build.props b/Directory.Build.props
index c677ae54..48257d5d 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -17,9 +17,8 @@
Suppress warnings for currently-invalid documentation comments.
CS1570: XML comment has badly formed XML
- CS1572: XML comment has a param tag, but there is no parameter by that name
-->
- $(NoWarn),1570,1572
+ $(NoWarn),1570
diff --git a/src/TensorFlowNET.Core/APIs/tf.init.cs b/src/TensorFlowNET.Core/APIs/tf.init.cs
index db2ea1b1..1786f340 100644
--- a/src/TensorFlowNET.Core/APIs/tf.init.cs
+++ b/src/TensorFlowNET.Core/APIs/tf.init.cs
@@ -68,7 +68,7 @@ namespace Tensorflow
///
///
///
- ///
+ ///
///
///
///
diff --git a/src/TensorFlowNET.Core/Eager/c_api.eager.cs b/src/TensorFlowNET.Core/Eager/c_api.eager.cs
index a8652beb..c14c4e99 100644
--- a/src/TensorFlowNET.Core/Eager/c_api.eager.cs
+++ b/src/TensorFlowNET.Core/Eager/c_api.eager.cs
@@ -18,7 +18,7 @@ namespace Tensorflow
///
///
///
- ///
+ ///
/// previous node ouput
///
///
@@ -355,7 +355,7 @@ namespace Tensorflow
/// TFE_ExecutorWaitForAllPendingNodes before calling this API if you want to
/// make sure all nodes are finished.
///
- /// TFE_Executor*
+ /// TFE_Executor*
[DllImport(TensorFlowLibName)]
public static extern void TFE_DeleteExecutor(IntPtr executor);
diff --git a/src/TensorFlowNET.Core/Gradients/nn_grad.cs b/src/TensorFlowNET.Core/Gradients/nn_grad.cs
index e4502ad8..b1393e15 100644
--- a/src/TensorFlowNET.Core/Gradients/nn_grad.cs
+++ b/src/TensorFlowNET.Core/Gradients/nn_grad.cs
@@ -30,7 +30,7 @@ namespace Tensorflow.Gradients
/// Return the gradients for the 2 inputs of bias_op.
///
///
- ///
+ ///
///
[RegisterGradient("BiasAdd")]
public static Tensor[] _BiasAddGrad(Operation op, Tensor[] grads)
@@ -78,8 +78,7 @@ namespace Tensorflow.Gradients
/// Gradient function for SoftmaxCrossEntropyWithLogits.
///
///
- ///
- ///
+ ///
///
[RegisterGradient("SoftmaxCrossEntropyWithLogits")]
public static Tensor[] _SoftmaxCrossEntropyWithLogitsGrad(Operation op, Tensor[] grads)
diff --git a/src/TensorFlowNET.Core/Interfaces/ITensorFlowObject.cs b/src/TensorFlowNET.Core/Interfaces/ITensorFlowObject.cs
index 3b4a87ec..1fc24813 100644
--- a/src/TensorFlowNET.Core/Interfaces/ITensorFlowObject.cs
+++ b/src/TensorFlowNET.Core/Interfaces/ITensorFlowObject.cs
@@ -23,7 +23,6 @@ namespace Tensorflow
///
/// Called when the instance is created.
///
- ///
void __init__();
void __enter__();
diff --git a/src/TensorFlowNET.Core/Operations/NnOps/gen_nn_ops.cs b/src/TensorFlowNET.Core/Operations/NnOps/gen_nn_ops.cs
index f733c97a..659247b0 100644
--- a/src/TensorFlowNET.Core/Operations/NnOps/gen_nn_ops.cs
+++ b/src/TensorFlowNET.Core/Operations/NnOps/gen_nn_ops.cs
@@ -161,15 +161,7 @@ namespace Tensorflow.Operations
///
/// Gradient for batch normalization.
///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
- ///
+ ///
///
public static Tensor[] fused_batch_norm_grad(FusedBatchNormParams @params)
{
diff --git a/src/TensorFlowNET.Core/Operations/control_flow_ops.cs b/src/TensorFlowNET.Core/Operations/control_flow_ops.cs
index 5df45e61..3a34525d 100644
--- a/src/TensorFlowNET.Core/Operations/control_flow_ops.cs
+++ b/src/TensorFlowNET.Core/Operations/control_flow_ops.cs
@@ -637,7 +637,7 @@ namespace Tensorflow
///
///
///
- ///
+ ///
public static TItem while_loop(Func cond, Func body, TItem loop_vars,
TensorShape[] shape_invariants = null,
int parallel_iterations = 10,
diff --git a/src/TensorFlowNET.Core/Operations/random_ops.cs b/src/TensorFlowNET.Core/Operations/random_ops.cs
index ec99f351..e92d5619 100644
--- a/src/TensorFlowNET.Core/Operations/random_ops.cs
+++ b/src/TensorFlowNET.Core/Operations/random_ops.cs
@@ -158,7 +158,7 @@ namespace Tensorflow
///
///
///
- ///
+ ///
///
///
private static Tensor multinomial_categorical_impl(Tensor logits, int num_samples, TF_DataType dtype = TF_DataType.DtInvalid,
diff --git a/src/TensorFlowNET.Core/Operations/resource_variable_ops.cs b/src/TensorFlowNET.Core/Operations/resource_variable_ops.cs
index 644ad64d..7c769ae1 100644
--- a/src/TensorFlowNET.Core/Operations/resource_variable_ops.cs
+++ b/src/TensorFlowNET.Core/Operations/resource_variable_ops.cs
@@ -151,7 +151,7 @@ namespace Tensorflow
/// Sets the shape inference result HandleData on tensor.
///
///
- ///
+ ///
///
private static void _set_handle_shapes_and_types(Tensor handle, HandleData handle_data, bool graph_mode)
{
diff --git a/src/TensorFlowNET.Core/Tensors/c_api.tensor.cs b/src/TensorFlowNET.Core/Tensors/c_api.tensor.cs
index c9dd5e13..dc8d795a 100644
--- a/src/TensorFlowNET.Core/Tensors/c_api.tensor.cs
+++ b/src/TensorFlowNET.Core/Tensors/c_api.tensor.cs
@@ -103,8 +103,6 @@ namespace Tensorflow
///
///
/// num_bytes, ex: 6 * sizeof(float)
- ///
- ///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static unsafe IntPtr TF_NewTensor(TF_DataType dataType, long[] dims, int num_dims, IntPtr data, ulong len)
{
@@ -118,8 +116,6 @@ namespace Tensorflow
///
///
/// num_bytes, ex: 6 * sizeof(float)
- ///
- ///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static unsafe IntPtr TF_NewTensor(TF_DataType dataType, long[] dims, int num_dims, void* data, ulong len)
{
diff --git a/src/TensorFlowNET.Core/Tensors/constant_op.cs b/src/TensorFlowNET.Core/Tensors/constant_op.cs
index d3c28938..6fd3b882 100644
--- a/src/TensorFlowNET.Core/Tensors/constant_op.cs
+++ b/src/TensorFlowNET.Core/Tensors/constant_op.cs
@@ -35,13 +35,13 @@ namespace Tensorflow
/// The type of the elements of the resulting tensor.
/// Optional dimensions of resulting tensor.
/// Optional name for the tensor.
- /// Boolean that enables verification of a shape of values.
///
public static Tensor constant(object value, TF_DataType dtype = TF_DataType.DtInvalid, int[] shape = null, string name = "Const")
{
return _constant_impl(value, dtype, shape, name, verify_shape: false, allow_broadcast: true);
}
+ /// Boolean that enables verification of a shape of values.
public static Tensor _constant_impl(object value,
TF_DataType dtype,
TensorShape shape,
diff --git a/src/TensorFlowNET.Core/Training/GradientDescentOptimizer.cs b/src/TensorFlowNET.Core/Training/GradientDescentOptimizer.cs
index 73359c4b..fed8142e 100644
--- a/src/TensorFlowNET.Core/Training/GradientDescentOptimizer.cs
+++ b/src/TensorFlowNET.Core/Training/GradientDescentOptimizer.cs
@@ -21,6 +21,8 @@ namespace Tensorflow.Train
///
public class GradientDescentOptimizer : Optimizer
{
+ private bool _useTensor;
+
///
/// Construct a new gradient descent optimizer.
///
@@ -35,7 +37,6 @@ namespace Tensorflow.Train
/// for changing these values across different invocations of optimizer
/// functions.
///
- private bool _useTensor;
public GradientDescentOptimizer(float learning_rate, bool use_locking = false, string name = "GradientDescent")
: base(learning_rate, use_locking, name)
{
diff --git a/src/TensorFlowNET.Core/Util/nest.py.cs b/src/TensorFlowNET.Core/Util/nest.py.cs
index 3f5d78eb..001ae1aa 100644
--- a/src/TensorFlowNET.Core/Util/nest.py.cs
+++ b/src/TensorFlowNET.Core/Util/nest.py.cs
@@ -486,13 +486,7 @@ namespace Tensorflow.Util
/// and the return value will contain the results in the same structure.
///
/// A callable that accepts as many arguments as there are structures.
- /// one or many IEnumerable of object
- /// If set to
- /// `True` (default) the types of iterables within the structures have to be
- /// same (e.g. `map_structure(func, [1], (1,))` raises a `TypeError`
- /// exception). To allow this set this argument to `False`.
- /// Note that namedtuples with identical name and fields are always
- /// considered to have the same shallow structure.
+ /// one or many IEnumerable of object
///
/// A new structure with the same arity as `structure`, whose values correspond
/// to `func(x[0], x[1], ...)` where `x[i]` is a value in the corresponding
diff --git a/src/TensorFlowNET.Core/Variables/gen_state_ops.py.cs b/src/TensorFlowNET.Core/Variables/gen_state_ops.py.cs
index dfeccb38..192227a7 100644
--- a/src/TensorFlowNET.Core/Variables/gen_state_ops.py.cs
+++ b/src/TensorFlowNET.Core/Variables/gen_state_ops.py.cs
@@ -51,7 +51,7 @@ namespace Tensorflow
///
/// Update 'ref' by assigning 'value' to it
///
- ///
+ ///
///
///
///
diff --git a/src/TensorFlowNET.Core/ops.cs b/src/TensorFlowNET.Core/ops.cs
index ecc00f55..d0eba736 100644
--- a/src/TensorFlowNET.Core/ops.cs
+++ b/src/TensorFlowNET.Core/ops.cs
@@ -313,7 +313,7 @@ namespace Tensorflow
///
/// Uses the default session to evaluate one or more tensors.
///
- /// A single Tensor, or a list of Tensor objects.
+ /// A single Tensor, or a list of Tensor objects.
///
/// A dictionary that maps Tensor objects (or tensor names) to lists,
/// numpy ndarrays, TensorProtos, or strings.