/// <summary>インデクス</summary> public static Tensor Index(Shape shape, int axis) { Tensor y = new Tensor(shape); Operator ope = new Operators.ArrayManipulation.Index(shape, axis); ope.Execute(y); return(y); }
/// <summary>コンストラクタ</summary> public Index(Tensor tensor, int axis) : base(tensor) { this.generator = new Operators.ArrayManipulation.Index(tensor.Shape, axis); }