tensorflow:: אופס:: ImmutableConst
#include <array_ops.h>
מחזירה טנזור בלתי משתנה מאזור הזיכרון.
תַקצִיר
המימוש הנוכחי ממפה את הטנזור מקובץ.
טיעונים:
- scope: אובייקט Scope
- dtype: סוג הטנזור המוחזר.
- צורה: צורת הטנזור המוחזר.
- memory_region_name: שם אזור הזיכרון לקריאה בלבד המשמש את הטנסור, ראה NewReadOnlyMemoryRegionFromFile ב-tensorflow::Env.
החזרות:
-
Output
: טנסור הטנזור.
בנאים והורסים | |
---|---|
ImmutableConst (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name) |
תפקידים ציבוריים | |
---|---|
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