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
- All
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @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
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- object AttentionMask extends TFInfoNameMapper with Product with Serializable
- object AttentionMaskV1 extends TFInfoNameMapper with Product with Serializable
- object AudioValuesInput extends TFInfoNameMapper with Product with Serializable
- object CachedDecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- object CachedDecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
- object CachedDecoderInputCache1 extends TFInfoNameMapper with Product with Serializable
- object CachedDecoderInputCache2 extends TFInfoNameMapper with Product with Serializable
- object CachedDecoderInputIds extends TFInfoNameMapper with Product with Serializable
- object CachedEncoderOutput extends TFInfoNameMapper with Product with Serializable
- object CachedLogitsOutput extends TFInfoNameMapper with Product with Serializable
- object CachedOutPut2 extends TFInfoNameMapper with Product with Serializable
- object CachedOutput1 extends TFInfoNameMapper with Product with Serializable
- object DType extends TFInfoDescriptor with Product with Serializable
- object DecoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedCache1Key extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedCache2Key extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedEncoderAttentionKey extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedEncoderStateKey extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedInputIdsKey extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedOutput extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedOutputCache1Key extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedOutputCache2Key extends TFInfoNameMapper with Product with Serializable
- object DecoderCachedOutputKey extends TFInfoNameMapper with Product with Serializable
- object DecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- object DecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
- object DecoderInitOutputCache1Key extends TFInfoNameMapper with Product with Serializable
- object DecoderInitOutputCache2Key extends TFInfoNameMapper with Product with Serializable
- object DecoderInputIds extends TFInfoNameMapper with Product with Serializable
- object DecoderOutput extends TFInfoNameMapper with Product with Serializable
- object DimCount extends TFInfoDescriptor with Product with Serializable
- object EncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- object EncoderContextMask extends TFInfoNameMapper with Product with Serializable
- object EncoderInputIds extends TFInfoNameMapper with Product with Serializable
- object EncoderOutput extends TFInfoNameMapper with Product with Serializable
- object EndLogitsOutput extends TFInfoNameMapper with Product with Serializable
- object InitCachedOutPut2 extends TFInfoNameMapper with Product with Serializable
- object InitCachedOutput1 extends TFInfoNameMapper with Product with Serializable
- object InitDecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
- object InitDecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
- object InitDecoderInputIds extends TFInfoNameMapper with Product with Serializable
- object InitLogitsOutput extends TFInfoNameMapper with Product with Serializable
- object InputIds extends TFInfoNameMapper with Product with Serializable
- object InputIdsV1 extends TFInfoNameMapper with Product with Serializable
- object LastHiddenState extends TFInfoNameMapper with Product with Serializable
- object LastHiddenStateV1 extends TFInfoNameMapper with Product with Serializable
- object LogitsOutput extends TFInfoNameMapper with Product with Serializable
- object Name extends TFInfoDescriptor with Product with Serializable
- object PixelValuesInput extends TFInfoNameMapper with Product with Serializable
- object PoolerOutput extends TFInfoNameMapper with Product with Serializable
- object PoolerOutputV1 extends TFInfoNameMapper with Product with Serializable
- object SerializedSize extends TFInfoDescriptor with Product with Serializable
- object ShapeDimList extends TFInfoDescriptor with Product with Serializable
- object StartLogitsOutput extends TFInfoNameMapper with Product with Serializable
- object TapasLogitsAggregationOutput extends TFInfoNameMapper with Product with Serializable
- object TapasLogitsOutput extends TFInfoNameMapper with Product with Serializable
- object TokenTypeIds extends TFInfoNameMapper with Product with Serializable
- object TokenTypeIdsV1 extends TFInfoNameMapper with Product with Serializable