Packages

o

com.johnsnowlabs.ml.tensorflow.sign

ModelSignatureConstants

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*

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModelSignatureConstants
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait TFInfoDescriptor extends AnyRef
  2. sealed trait TFInfoNameMapper extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. 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

  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  17. def toAdoptedKeys(keyName: String): String

    Convert signatures key names to normalize naming conventions

  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. object AttentionMask extends TFInfoNameMapper with Product with Serializable
  23. object AttentionMaskV1 extends TFInfoNameMapper with Product with Serializable
  24. object AudioValuesInput extends TFInfoNameMapper with Product with Serializable
  25. object CachedDecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
  26. object CachedDecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
  27. object CachedDecoderInputCache1 extends TFInfoNameMapper with Product with Serializable
  28. object CachedDecoderInputCache2 extends TFInfoNameMapper with Product with Serializable
  29. object CachedDecoderInputIds extends TFInfoNameMapper with Product with Serializable
  30. object CachedEncoderOutput extends TFInfoNameMapper with Product with Serializable
  31. object CachedLogitsOutput extends TFInfoNameMapper with Product with Serializable
  32. object CachedOutPut2 extends TFInfoNameMapper with Product with Serializable
  33. object CachedOutput1 extends TFInfoNameMapper with Product with Serializable
  34. object DType extends TFInfoDescriptor with Product with Serializable
  35. object DecoderAttentionMask extends TFInfoNameMapper with Product with Serializable
  36. object DecoderCachedCache1Key extends TFInfoNameMapper with Product with Serializable
  37. object DecoderCachedCache2Key extends TFInfoNameMapper with Product with Serializable
  38. object DecoderCachedEncoderAttentionKey extends TFInfoNameMapper with Product with Serializable
  39. object DecoderCachedEncoderStateKey extends TFInfoNameMapper with Product with Serializable
  40. object DecoderCachedInputIdsKey extends TFInfoNameMapper with Product with Serializable
  41. object DecoderCachedOutput extends TFInfoNameMapper with Product with Serializable
  42. object DecoderCachedOutputCache1Key extends TFInfoNameMapper with Product with Serializable
  43. object DecoderCachedOutputCache2Key extends TFInfoNameMapper with Product with Serializable
  44. object DecoderCachedOutputKey extends TFInfoNameMapper with Product with Serializable
  45. object DecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
  46. object DecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
  47. object DecoderInitOutputCache1Key extends TFInfoNameMapper with Product with Serializable
  48. object DecoderInitOutputCache2Key extends TFInfoNameMapper with Product with Serializable
  49. object DecoderInputIds extends TFInfoNameMapper with Product with Serializable
  50. object DecoderOutput extends TFInfoNameMapper with Product with Serializable
  51. object DimCount extends TFInfoDescriptor with Product with Serializable
  52. object EncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
  53. object EncoderContextMask extends TFInfoNameMapper with Product with Serializable
  54. object EncoderInputIds extends TFInfoNameMapper with Product with Serializable
  55. object EncoderOutput extends TFInfoNameMapper with Product with Serializable
  56. object EndLogitsOutput extends TFInfoNameMapper with Product with Serializable
  57. object InitCachedOutPut2 extends TFInfoNameMapper with Product with Serializable
  58. object InitCachedOutput1 extends TFInfoNameMapper with Product with Serializable
  59. object InitDecoderEncoderAttentionMask extends TFInfoNameMapper with Product with Serializable
  60. object InitDecoderEncoderInputIds extends TFInfoNameMapper with Product with Serializable
  61. object InitDecoderInputIds extends TFInfoNameMapper with Product with Serializable
  62. object InitLogitsOutput extends TFInfoNameMapper with Product with Serializable
  63. object InputIds extends TFInfoNameMapper with Product with Serializable
  64. object InputIdsV1 extends TFInfoNameMapper with Product with Serializable
  65. object LastHiddenState extends TFInfoNameMapper with Product with Serializable
  66. object LastHiddenStateV1 extends TFInfoNameMapper with Product with Serializable
  67. object LogitsOutput extends TFInfoNameMapper with Product with Serializable
  68. object Name extends TFInfoDescriptor with Product with Serializable
  69. object PixelValuesInput extends TFInfoNameMapper with Product with Serializable
  70. object PoolerOutput extends TFInfoNameMapper with Product with Serializable
  71. object PoolerOutputV1 extends TFInfoNameMapper with Product with Serializable
  72. object SerializedSize extends TFInfoDescriptor with Product with Serializable
  73. object ShapeDimList extends TFInfoDescriptor with Product with Serializable
  74. object StartLogitsOutput extends TFInfoNameMapper with Product with Serializable
  75. object TapasLogitsAggregationOutput extends TFInfoNameMapper with Product with Serializable
  76. object TapasLogitsOutput extends TFInfoNameMapper with Product with Serializable
  77. object TokenTypeIds extends TFInfoNameMapper with Product with Serializable
  78. object TokenTypeIdsV1 extends TFInfoNameMapper with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped