object ModelSignatureConstants
Based on BERT SavedModel reference, for instance:
signature_def['serving_default']: The given SavedModel SignatureDef contains the following input(s):
inputs['attention_mask'] tensor_info: dtype: DT_INT32 shape: (-1, -1) name: serving_default_attention_mask:0
inputs['input_ids'] tensor_info: dtype: DT_INT32 shape: (-1, -1) name: serving_default_input_ids:0
inputs['token_type_ids'] tensor_info: dtype: DT_INT32 shape: (-1, -1) name: serving_default_token_type_ids:0
The given SavedModel SignatureDef contains the following output(s):
outputs['last_hidden_state'] tensor_info: dtype: DT_FLOAT shape: (-1, -1, 768) name: StatefulPartitionedCall:0
outputs['pooler_output'] tensor_info: dtype: DT_FLOAT shape: (-1, 768) name: StatefulPartitionedCall:1
Method name is: tensorflow/serving/predict*
- Alphabetic
- By Inheritance
- ModelSignatureConstants
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- sealed trait TFInfoDescriptor extends AnyRef
- sealed trait TFInfoNameMapper extends AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getSignaturePatterns(modelProvider: String): Array[Regex]
Retrieve signature patterns for a given provider
Retrieve signature patterns for a given provider
- modelProvider
: the provider library that built the model and the signatures
- returns
reference keys array of signature patterns for a given provider
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAdoptedKeys(keyName: String): String
Convert signatures key names to normalize naming conventions
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object AttentionMask extends TFInfoNameMapper with Product with Serializable
- case object AttentionMaskV1 extends TFInfoNameMapper with Product with Serializable
- case object AudioValuesInput extends TFInfoNameMapper with Product with Serializable
- case object CachedDecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- case object CachedDecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
- case object CachedDecoderInputCache1 extends TFInfoNameMapper with Product with Serializable
- case object CachedDecoderInputCache2 extends TFInfoNameMapper with Product with Serializable
- case object CachedDecoderInputIds extends TFInfoNameMapper with Product with Serializable
- case object CachedEncoderOutput extends TFInfoNameMapper with Product with Serializable
- case object CachedLogitsOutput extends TFInfoNameMapper with Product with Serializable
- case object CachedOutPut2 extends TFInfoNameMapper with Product with Serializable
- case object CachedOutput1 extends TFInfoNameMapper with Product with Serializable
- case object DType extends TFInfoDescriptor with Product with Serializable
- case object DecoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedCache1Key extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedCache2Key extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedEncoderAttentionKey extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedEncoderStateKey extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedInputIdsKey extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedOutput extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedOutputCache1Key extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedOutputCache2Key extends TFInfoNameMapper with Product with Serializable
- case object DecoderCachedOutputKey extends TFInfoNameMapper with Product with Serializable
- case object DecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- case object DecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
- case object DecoderInitOutputCache1Key extends TFInfoNameMapper with Product with Serializable
- case object DecoderInitOutputCache2Key extends TFInfoNameMapper with Product with Serializable
- case object DecoderInputIds extends TFInfoNameMapper with Product with Serializable
- case object DecoderOutput extends TFInfoNameMapper with Product with Serializable
- case object DimCount extends TFInfoDescriptor with Product with Serializable
- case object EncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- case object EncoderContextMask extends TFInfoNameMapper with Product with Serializable
- case object EncoderInputIds extends TFInfoNameMapper with Product with Serializable
- case object EncoderOutput extends TFInfoNameMapper with Product with Serializable
- case object EndLogitsOutput extends TFInfoNameMapper with Product with Serializable
- case object InitCachedOutPut2 extends TFInfoNameMapper with Product with Serializable
- case object InitCachedOutput1 extends TFInfoNameMapper with Product with Serializable
- case object InitDecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- case object InitDecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
- case object InitDecoderInputIds extends TFInfoNameMapper with Product with Serializable
- case object InitLogitsOutput extends TFInfoNameMapper with Product with Serializable
- case object InputIds extends TFInfoNameMapper with Product with Serializable
- case object InputIdsV1 extends TFInfoNameMapper with Product with Serializable
- case object LastHiddenState extends TFInfoNameMapper with Product with Serializable
- case object LastHiddenStateV1 extends TFInfoNameMapper with Product with Serializable
- case object LogitsOutput extends TFInfoNameMapper with Product with Serializable
- case object Name extends TFInfoDescriptor with Product with Serializable
- case object PixelValuesInput extends TFInfoNameMapper with Product with Serializable
- case object PoolerOutput extends TFInfoNameMapper with Product with Serializable
- case object PoolerOutputV1 extends TFInfoNameMapper with Product with Serializable
- case object SerializedSize extends TFInfoDescriptor with Product with Serializable
- case object ShapeDimList extends TFInfoDescriptor with Product with Serializable
- case object StartLogitsOutput extends TFInfoNameMapper with Product with Serializable
- case object TapasLogitsAggregationOutput extends TFInfoNameMapper with Product with Serializable
- case object TapasLogitsOutput extends TFInfoNameMapper with Product with Serializable
- case object TokenTypeIds extends TFInfoNameMapper with Product with Serializable
- case object TokenTypeIdsV1 extends TFInfoNameMapper with Product with Serializable
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)