diff --git a/Directory.Build.props b/Directory.Build.props index 0180278d..c677ae54 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -18,9 +18,8 @@ CS1570: XML comment has badly formed XML CS1572: XML comment has a param tag, but there is no parameter by that name - CS1587: XML comment is not placed on a valid language element --> - $(NoWarn),1570,1572,1587 + $(NoWarn),1570,1572 diff --git a/src/TensorFlowNET.Core/Gradients/gradients_util.cs b/src/TensorFlowNET.Core/Gradients/gradients_util.cs index c9322105..ab26dcb0 100644 --- a/src/TensorFlowNET.Core/Gradients/gradients_util.cs +++ b/src/TensorFlowNET.Core/Gradients/gradients_util.cs @@ -47,13 +47,13 @@ namespace Tensorflow grad_ys = new Tensor[ys.Length]; // Iterate over the collected ops. - /** + /* * grads: op => list of gradients received on each output endpoint of the * op. The gradients for each endpoint are initially collected as a list. * When it is time to call the op's gradient function, for each endpoint we * aggregate the list of received gradients into a Add() Operation if there * is more than one. - **/ + */ var grads = new Dictionary>>(); Operation[] reachable_to_ops = null; ControlFlowState loop_state = null; @@ -70,14 +70,14 @@ namespace Tensorflow xs = ops.internal_convert_n_to_tensor_or_indexed_slices(xs, name: "x", as_ref: true); grad_ys = _DefaultGradYs(grad_ys, ys, colocate_gradients_with_ops, gradient_uid); - /** + /* * The approach we take here is as follows: Create a list of all ops in the * subgraph between the ys and xs. Visit these ops in reverse order of ids * to ensure that when we visit an op the gradients w.r.t its outputs have * been collected. Then aggregate these gradients if needed, call the op's * gradient function, and add the generated gradients to the gradients for * its input. - **/ + */ // Initialize the pending count for ops in the connected subgraph from ys // to the xs. diff --git a/src/TensorFlowNET.Core/Graphs/c_api.graph.cs b/src/TensorFlowNET.Core/Graphs/c_api.graph.cs index 74e21f03..d2e450a8 100644 --- a/src/TensorFlowNET.Core/Graphs/c_api.graph.cs +++ b/src/TensorFlowNET.Core/Graphs/c_api.graph.cs @@ -178,7 +178,7 @@ namespace Tensorflow /// /// Add an operation in `graph_def` to be returned via the `return_opers` output /// parameter of TF_GraphImportGraphDef(). `oper_name` is copied and has no - // lifetime requirements. + /// lifetime requirements. /// /// TF_ImportGraphDefOptions* opts /// const char* diff --git a/src/TensorFlowNET.Core/Operations/Distributions/distribution.py.cs b/src/TensorFlowNET.Core/Operations/Distributions/distribution.py.cs index 16be7bfb..cededae1 100644 --- a/src/TensorFlowNET.Core/Operations/Distributions/distribution.py.cs +++ b/src/TensorFlowNET.Core/Operations/Distributions/distribution.py.cs @@ -93,6 +93,7 @@ namespace Tensorflow } + /* /// /// Constructs the `Distribution' /// **This is a private method for subclass use.** @@ -113,7 +114,6 @@ namespace Tensorflow /// Name prefixed to Ops created by this class. Default: subclass name. /// Two `Tensor` objects: `mean` and `variance`. - /* private Distribution ( TF_DataType dtype, ReparameterizationType reparameterization_type, diff --git a/test/TensorFlowNET.UnitTest/Utilities/PrivateType.cs b/test/TensorFlowNET.UnitTest/Utilities/PrivateType.cs index a2d0b3c3..41ad27f4 100644 --- a/test/TensorFlowNET.UnitTest/Utilities/PrivateType.cs +++ b/test/TensorFlowNET.UnitTest/Utilities/PrivateType.cs @@ -548,19 +548,19 @@ namespace Microsoft.VisualStudio.TestTools.UnitTesting } } - /// - /// The check parameter not null or empty. - /// - /// - /// The parameter. - /// - /// - /// The parameter name. - /// - /// - /// The message. - /// - /// Throws ArgumentException when parameter is null. + ///// + ///// The check parameter not null or empty. + ///// + ///// + ///// The parameter. + ///// + ///// + ///// The parameter name. + ///// + ///// + ///// The message. + ///// + ///// Throws ArgumentException when parameter is null. //internal static void CheckParameterNotNullOrEmpty(string param, string parameterName, string message) //{ // if (string.IsNullOrEmpty(param))