tensorflow::ops::ImmutableConst

#include <array_ops.h>

Bellek bölgesinden değiştirilemez bir tensör döndürür.

Özet

Mevcut uygulama, tensörü bir dosyadan bellek eşlemesi (memmap) yoluyla alır.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • dtype: Döndürülen tensörün türü.
  • Şekil: Döndürülen tensörün şekli.
  • memory_region_name: Tensor tarafından kullanılan salt okunur bellek bölgesinin adı, bkz. tensorflow::Env'deki NewReadOnlyMemoryRegionFromFile.

İadeler:

Yapıcılar ve Yıkıcılar

ImmutableConst (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name)

Genel özellikler

operation
tensor

Kamusal işlevler

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Genel özellikler

operasyon

Operation operation

tensör

::tensorflow::Output tensor

Kamusal işlevler

Değişmez Sabit

 ImmutableConst(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  StringPiece memory_region_name
)

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const