/// <summary>3次元ベクトル純Y成分</summary> public static Tensor TrivectorPureY(Tensor X) { Function function = new Functions.Trivector.TrivectorPureY(); Shape y_shape = function.OutputShapes(X.Shape)[0]; Tensor y = new Tensor(y_shape); function.Execute(new Tensor[] { X }, new Tensor[] { y }); return(y); }
/// <summary>3次元ベクトル純Y成分</summary> public static VariableNode TrivectorPureY(VariableNode X) { Function function = new Functions.Trivector.TrivectorPureY(); return(Apply(function, X)[0]); }