SavedResource

کلاس نهایی عمومی SavedResource

 A SavedResource represents a TF object that holds state during its lifetime.
 An object of this type can have a reference to a:
 create_resource() and an initialize() function.
 
نوع Protobuf tensorflow.SavedResource

کلاس های تو در تو

کلاس SavedResource.Builder
 A SavedResource represents a TF object that holds state during its lifetime. 

ثابت ها

بین المللی DEVICE_FIELD_NUMBER

روش های عمومی

بولی
برابر است (object obj)
منبع ذخیره شده ثابت
منبع ذخیره شده
نهایی static com.google.protobuf.Descriptors.Descriptor
رشته
getDevice ()
 A device specification indicating a required placement for the resource
 creation function, e.g.
com.google.protobuf.ByteString
getDeviceBytes ()
 A device specification indicating a required placement for the resource
 creation function, e.g.
بین المللی
com.google.protobuf.UnknownFieldSet نهایی
بین المللی
بولی نهایی
استاتیک SavedResource.Builder
استاتیک SavedResource.Builder
newBuilder (نمونه اولیه SavedResource )
SavedResource.Builder
منبع ذخیره شده ثابت
parseDelimitedFrom (ورودی جریان ورودی)
منبع ذخیره شده ثابت
parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
منبع ذخیره شده ثابت
parseFrom (داده های ByteBuffer)
منبع ذخیره شده ثابت
parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
منبع ذخیره شده ثابت
parseFrom (داده‌های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
منبع ذخیره شده ثابت
parseFrom (ورودی com.google.protobuf.CodedInputStream)
منبع ذخیره شده ثابت
parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
منبع ذخیره شده ثابت
parseFrom (داده های com.google.protobuf.ByteString)
منبع ذخیره شده ثابت
parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
منبع ذخیره شده ثابت
parseFrom (داده‌های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ایستا
SavedResource.Builder
خالی
writeTo (خروجی com.google.protobuf.CodedOutputStream)

روش های ارثی

ثابت ها

DEVICE_FIELD_NUMBER نهایی استاتیک عمومی

ارزش ثابت: 1

روش های عمومی

بولین عمومی برابر است (Object Obj)

عمومی استاتیک SavedResource getDefaultInstance ()

عمومی SavedResource getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

رشته عمومی getDevice ()

دستگاه رشته

 A device specification indicating a required placement for the resource
 creation function, e.g. "CPU". An empty string allows the user to select a
 device.
 
string device = 1;

عمومی com.google.protobuf.ByteString getDeviceBytes ()

دستگاه رشته

 A device specification indicating a required placement for the resource
 creation function, e.g. "CPU". An empty string allows the user to select a
 device.
 
string device = 1;

عمومی getParserForType ()

عمومی int getSerializedSize ()

عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

عمومی استاتیک SavedResource.Builder newBuilder ()

عمومی static SavedResource.Builder newBuilder (نمونه اولیه SavedResource )

عمومی SavedResource.Builder newBuilderForType ()

عمومی استاتیک SavedResource parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

عمومی ایستا SavedResource parseDelimitedFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک SavedResource parseFrom (داده ByteBuffer)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک SavedResource parseFrom (ورودی com.google.protobuf.CodedInputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک SavedResource parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک SavedResource parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

عمومی استاتیک SavedResource parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک SavedResource parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک SavedResource parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک SavedResource parseFrom (داده های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی SavedResource.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException