/// <summary>3次元ベクトル純Z成分</summary> public static Tensor TrivectorPureZ(Tensor X) { Function function = new Functions.Trivector.TrivectorPureZ(); 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次元ベクトル純Z成分</summary> public static VariableNode TrivectorPureZ(VariableNode X) { Function function = new Functions.Trivector.TrivectorPureZ(); return(Apply(function, X)[0]); }