pose_format.tensorflow.masked.tensorflow_test module

Classes:

TestMaskedTensorflow([methodName])

A test class for checking the operations in the MaskedTensorflow class.

class pose_format.tensorflow.masked.tensorflow_test.TestMaskedTensorflow(methodName='runTest')[source]

Bases: TestCase

A test class for checking the operations in the MaskedTensorflow class.

Methods:

test_cat()

Test the concat concatination method for two tensors along axis=0.

test_not_implemented_method()

Test a method that is not explicitly defined for MaskedTensor but is implemented via fallback.

test_stack()

Test the stack method for two tensors along axis=0.

test_zeros_mask_value()

Test the mask values of the tensor obtained from zeros method.

test_zeros_tensor_shape()

Test the shape of the tensor obtained from zeros method.

test_zeros_tensor_type_bool()

Test the dtype of the tensor obtained from zeros method with dtype=tf.bool.

test_zeros_tensor_type_float()

Test dtype of tensor obtained from zeros method with dtype=tf.float32.

test_zeros_tensor_value()

Test the values of the tensor obtained from zeros method.

test_cat()[source]

Test the concat concatination method for two tensors along axis=0.

test_not_implemented_method()[source]

Test a method that is not explicitly defined for MaskedTensor but is implemented via fallback.

test_stack()[source]

Test the stack method for two tensors along axis=0.

test_zeros_mask_value()[source]

Test the mask values of the tensor obtained from zeros method.

test_zeros_tensor_shape()[source]

Test the shape of the tensor obtained from zeros method.

test_zeros_tensor_type_bool()[source]

Test the dtype of the tensor obtained from zeros method with dtype=tf.bool.

test_zeros_tensor_type_float()[source]

Test dtype of tensor obtained from zeros method with dtype=tf.float32.

test_zeros_tensor_value()[source]

Test the values of the tensor obtained from zeros method.