public static ConstantTensor Constant <T>(T value) { return(TensorFlow.Constant(value, typeof(T))); }
public static VariableTensor Assign(VariableTensor tensor, float value) { Matrix <float> matrixValue = Matrix <float> .Build.Dense(1, 1, value); return(TensorFlow.Assign(tensor, matrixValue)); }