/// <summary>四元数純第3成分</summary> public static Tensor QuaternionPureJ(Tensor X) { Function function = new Functions.Quaternion.QuaternionPureJ(); 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成分</summary> public static VariableNode QuaternionPureJ(VariableNode X) { Function function = new Functions.Quaternion.QuaternionPureJ(); return(Apply(function, X)[0]); }