tensorflow::ops::ImmutableConst

#include <array_ops.h>

تانسور تغییرناپذیر را از ناحیه حافظه برمی‌گرداند.

خلاصه

پیاده‌سازی فعلی، تانسور memmaps را از یک فایل استخراج می‌کند.

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • dtype: نوع تانسور بازگشتی.
  • شکل: شکل تانسور بازگشتی.
  • memory_region_name: نام ناحیه حافظه فقط خواندنی که توسط تنسور استفاده می‌شود، به NewReadOnlyMemoryRegionFromFile در tensorflow::Env مراجعه کنید.

بازده:

  • 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 

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const