pose_format.tensorflow.pose_body_test module
Classes:
|
TestsCases for the |
- class pose_format.tensorflow.pose_body_test.TestTensorflowPoseBody(methodName='runTest')[source]
Bases:
TestCaseTestsCases for the
TensorflowPoseBodyclass.Methods:
Test the
zero_filledmethod ofTensorflowPoseBodyclass.- test_tf_pose_body_zero_filled_fills_in_zeros()[source]
Test the
zero_filledmethod ofTensorflowPoseBodyclass.Test constructs a
TensorflowPoseBodyinstance with specified fps, data (as a MaskedTensor), and confidence. It then callszero_filledmethod and checks if data is filled with zeros.- Raises:
AssertionError – If sum of zero-filled body data is not equal to the expected sum.