コード例 #1
0
ファイル: Tuple.cs プロジェクト: stuarthillary/TheaNet
 public override Unary <ITensorTuple, Tuple_> Clone(ITensorTuple x) =>
 new TensorItem <A_>(x, ItemIndex);
コード例 #2
0
ファイル: Tuple.cs プロジェクト: stuarthillary/TheaNet
 internal TensorItem(ITensorTuple parent, int itemIndex) : base("TupleItem", parent, itemIndex)
 {
     this.ItemIndex = itemIndex;
     _shape         = x.Shape(itemIndex);
 }