テンソルフロー::作戦:: ImmutableConst
#include <array_ops.h>メモリ領域から不変のテンソルを返します。
まとめ
現在の実装では、ファイルからテンソルを memmap します。
引数:
- スコープ:スコープオブジェクト
- dtype: 返されたテンソルのタイプ。
- shape: 返されたテンソルの形状。
- Memory_region_name: tensor によって使用される読み取り専用メモリ領域の名前。tensorflow::Env の NewReadOnlyMemoryRegionFromFile を参照してください。
戻り値:
-  Output: テンソル tensor。
| コンストラクターとデストラクター | |
|---|---|
| ImmutableConst (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name) | 
| パブリック属性 | |
|---|---|
| operation | |
| tensor | |
| 公共機能 | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
パブリック属性
手術
Operation operation
テンソル
::tensorflow::Output tensor
公共機能
ImmutableConst
ImmutableConst( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const