tensorflow:: ops:: ImmutableConst
#include <array_ops.h>メモリ領域から不変テンソルを返します。
まとめ
現在の実装では、ファイルからテンソルをメモリマップしています。
議論:
- スコープ:スコープオブジェクト
- dtype: 返されるテンソルの型。
- shape: 返されるテンソルの形状。
- memory_region_name: テンソルが使用する読み取り専用メモリ領域の名前。tensorflow::Env の NewReadOnlyMemoryRegionFromFile を参照してください。
返品:
-
Output:テンソル テンソル。
コンストラクターとデストラクタ | |
|---|---|
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( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const