sagemaker.serve.marshalling.triton_translator#
Implements class converts data from and to np.ndarray
Classes
Translate python list from and to numpy.ndarray |
|
A dummy class to make sure the translator interface is aligned |
|
Converts tf.Tensor from and to numpy.ndarray |
|
Translate torch.Tensor from and to numpy.ndarray |
- class sagemaker.serve.marshalling.triton_translator.ListTranslator[source]#
Bases:
objectTranslate python list from and to numpy.ndarray
- class sagemaker.serve.marshalling.triton_translator.NumpyTranslator[source]#
Bases:
objectA dummy class to make sure the translator interface is aligned
- class sagemaker.serve.marshalling.triton_translator.TensorflowTensorTranslator[source]#
Bases:
objectConverts tf.Tensor from and to numpy.ndarray