pose_format.tensorflow.masked.tensorflow_test module
Classes:
|
A test class for checking the operations in the MaskedTensorflow class. |
- class pose_format.tensorflow.masked.tensorflow_test.TestMaskedTensorflow(methodName='runTest')[source]
Bases:
TestCaseA test class for checking the operations in the MaskedTensorflow class.
Methods:
test_cat()Test the
concatconcatination method for two tensors along axis=0.Test a method that is not explicitly defined for MaskedTensor but is implemented via fallback.
Test the
stackmethod for two tensors along axis=0.Test the mask values of the tensor obtained from
zerosmethod.Test the shape of the tensor obtained from
zerosmethod.Test the dtype of the tensor obtained from
zerosmethod with dtype=tf.bool.Test dtype of tensor obtained from
zerosmethod with dtype=tf.float32.Test the values of the tensor obtained from
zerosmethod.- test_not_implemented_method()[source]
Test a method that is not explicitly defined for MaskedTensor but is implemented via fallback.
- test_zeros_tensor_type_bool()[source]
Test the dtype of the tensor obtained from
zerosmethod with dtype=tf.bool.