SavedResource.Builder

공개 정적 최종 클래스 SavedResource.Builder

 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

공개 방법

저장된Resource.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
저장된 리소스
짓다 ()
저장된 리소스
저장된Resource.Builder
저장된Resource.Builder
클리어디바이스 ()
 A device specification indicating a required placement for the resource
 creation function, e.g.
저장된Resource.Builder
ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드)
저장된Resource.Builder
ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
저장된Resource.Builder
클론 ()
저장된 리소스
최종 정적 com.google.protobuf.Descriptors.Descriptor
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.
최종 부울
저장된Resource.Builder
mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
저장된Resource.Builder
mergeFrom (com.google.protobuf.다른 메시지 보내기)
최종 SavedResource.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields)
저장된Resource.Builder
setDevice (문자열 값)
 A device specification indicating a required placement for the resource
 creation function, e.g.
저장된Resource.Builder
setDeviceBytes (com.google.protobuf.ByteString 값)
 A device specification indicating a required placement for the resource
 creation function, e.g.
저장된Resource.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)
저장된Resource.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
최종 SavedResource.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

상속된 메서드

공개 방법

public SavedResource.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

공개 SavedResource 빌드 ()

공개 SavedResource 빌드Partial ()

공개 SavedResource.Builder 지우기 ()

공개 SavedResource.Builder ClearDevice ()

 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;

공개 SavedResource.BuilderclearField ( com.google.protobuf.Descriptors.FieldDescriptor 필드)

공개 SavedResource.BuilderclearOneof ( com.google.protobuf.Descriptors.OneofDescriptoroneof)

공개 SavedResource.Builder 클론 ()

공개 SavedResource getDefaultInstanceForType ()

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

공개 문자열 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;

공개 최종 부울 isInitialized ()

공개 SavedResource.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 SavedResource.Builder mergeFrom (com.google.protobuf.다른 메시지)

공개 최종 SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)

공개 SavedResource.Builder setDevice (문자열 값)

 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;

공개 SavedResource.Builder setDeviceBytes (com.google.protobuf.ByteString 값)

 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;

public SavedResource.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값)

public SavedResource.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)

공개 최종 SavedResource.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields)