ITensor<TSelf,T> インターフェイス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
テンソルを表します。
generic <typename TSelf, typename T>
where TSelf : ITensor<TSelf, T>public interface class ITensor : System::Numerics::Tensors::IReadOnlyTensor<TSelf, T>, System::Numerics::Tensors::ITensor
public interface ITensor<TSelf,T> : System.Numerics.Tensors.IReadOnlyTensor<TSelf,T>, System.Numerics.Tensors.ITensor where TSelf : ITensor<TSelf,T>, allows ref struct
type ITensor<'Self, 'T (requires 'Self :> ITensor<'Self, 'T>)> = interface
interface ITensor
interface IReadOnlyTensor
interface IReadOnlyTensor<'Self, 'T (requires 'Self :> ITensor<'Self, 'T>)>
Public Interface ITensor(Of TSelf, T)
Implements IReadOnlyTensor(Of TSelf, T), ITensor
型パラメーター
- TSelf
このインターフェイスを実装する型。
- T
要素の型。
- 派生
- 実装
プロパティ
| 名前 | 説明 |
|---|---|
| FlattenedLength |
テンソル内の項目の合計数を取得します。 (継承元 IReadOnlyTensor) |
| HasAnyDenseDimensions |
現在のテンソルに、 IsDense が |
| IsDense |
現在のテンソルが高密度かどうかを示す値を取得します。 (継承元 IReadOnlyTensor) |
| IsEmpty |
このテンソルが空かどうかを示す値を取得します。 (継承元 IReadOnlyTensor) |
| IsPinned |
基になるバッファーが固定されているかどうかを示す値を取得します。 (継承元 IReadOnlyTensor) |
| IsReadOnly |
テンソルが読み取り専用かどうかを示す値を取得します。 (継承元 ITensor) |
| Item[ReadOnlySpan<IntPtr>] |
指定したインデックス位置にある値を取得します。 |
| Item[ReadOnlySpan<NIndex>] |
指定したインデックス位置にある値を取得します。 |
| Item[ReadOnlySpan<NRange>] |
指定した範囲を含む現在のテンソルからスライスを取得または設定します。 |
| Lengths |
テンソル内の各ディメンションの長さを取得します。 (継承元 IReadOnlyTensor) |
| Rank |
テンソル内のランク (ディメンションの数) を取得します。 (継承元 IReadOnlyTensor) |
| Strides |
テンソル内の各ディメンションのストライドを取得します。 (継承元 IReadOnlyTensor) |