Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: RestoreSlice

#include <io_ops.h>

Denetim noktası dosyalarından bir tensörü geri yükler.

Özet

Bu, Restore edilmiş tensörün daha büyük bir tensörün yalnızca bir dilimini dolduracak şekilde listelenmesi dışında Restore benzer. shape_and_slice , daha büyük tensörün şeklini ve geri yüklenen tensörün kapladığı dilimi belirtir.

shape_and_slice girişi elemanları ile aynı biçimdedir shapes_and_slices girişi SaveSlices op.

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • file_pattern: Tek bir elemanı olmalıdır. Tensörü okuduğumuz dosyaların kalıbı.
  • tensor_name: Tek bir eleman içermelidir. Geri yüklenecek tensörün adı.
  • shape_and_slice: Skaler. Tensörleri geri yüklerken kullanılacak şekiller ve dilim özellikleri.
  • dt: Geri yüklenecek tensörün türü.

İsteğe bağlı özellikler (bkz. Attrs ):

  • file_pattern Birden çok dosya file_pattern eşleşirse ilk açılacak dosya dizini. Restore belgelerine bakın.

İadeler:

  • Output : Geri yüklenen tensör.

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

RestoreSlice (const :: tensorflow::Scope & scope, :: tensorflow::Input file_pattern, :: tensorflow::Input tensor_name, :: tensorflow::Input shape_and_slice, DataType dt)
RestoreSlice (const :: tensorflow::Scope & scope, :: tensorflow::Input file_pattern, :: tensorflow::Input tensor_name, :: tensorflow::Input shape_and_slice, DataType dt, const RestoreSlice::Attrs & attrs)

Genel özellikler

operation
tensor

Kamusal işlevler

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

Genel statik işlevler

PreferredShard (int64 x)

Yapılar

tensorflow :: ops :: RestoreSlice :: Attrs

RestoreSlice için isteğe bağlı öznitelik belirleyiciler.

Genel özellikler

operasyon

Operation operation

tensör

::tensorflow::Output tensor

Kamusal işlevler

RestoreSlice

 RestoreSlice(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input file_pattern,
  ::tensorflow::Input tensor_name,
  ::tensorflow::Input shape_and_slice,
  DataType dt
)

RestoreSlice

 RestoreSlice(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input file_pattern,
  ::tensorflow::Input tensor_name,
  ::tensorflow::Input shape_and_slice,
  DataType dt,
  const RestoreSlice::Attrs & attrs
)

düğüm

::tensorflow::Node * node() const 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: tensorflow :: Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

PreferredShard

Attrs PreferredShard(
  int64 x
)