tests.pose_test module
Classes:
|
A suite of tests for the Pose object. |
|
Testcases for Pose objects containing NumPy PoseBody data. |
|
Tests for Pose objects containing TensorFlow PoseBody data. |
- class tests.pose_test.TestPose(methodName='runTest')[source]
Bases:
TestCaseA suite of tests for the Pose object.
Methods:
Tests if the Pose object is callable.
- class tests.pose_test.TestPoseNumpyPoseBody(methodName='runTest')[source]
Bases:
TestCaseTestcases for Pose objects containing NumPy PoseBody data.
Methods:
test_pose_numpy_posebody_frame_dropout_normal_eager_mode_num_frames_not_zero()Tests if frame dropout using normal distribution in Pose object with NumPy PoseBody preserves frame count.
test_pose_numpy_posebody_frame_dropout_uniform_eager_mode_num_frames_not_zero()Tests if frame dropout using uniform distribution in Pose object with NumPy PoseBody preserves frame count.
Tests if the normalization of Pose object with NumPy PoseBody preserves array shape.
- test_pose_numpy_posebody_frame_dropout_normal_eager_mode_num_frames_not_zero()[source]
Tests if frame dropout using normal distribution in Pose object with NumPy PoseBody preserves frame count.
- class tests.pose_test.TestPoseTensorflowPoseBody(methodName='runTest')[source]
Bases:
TestCaseTests for Pose objects containing TensorFlow PoseBody data.
Methods:
test_pose_frame_dropout_normal_can_be_used_in_tf_dataset_map()Tests if the frame_dropout_normal method of Pose object can be used within a tf.data.Dataset map operation.
test_pose_frame_dropout_uniform_can_be_used_in_tf_dataset_map()Tests if the frame_dropout_uniform method of Pose object can be used within a tf.data.Dataset map operation.
Tests if the normalize method of Pose object can be used within a tf.data.Dataset map operation.
test_pose_normalize_distribution_can_be_used_in_tf_dataset_map()Tests if the normalize_distribution method of Pose object can be used within a tf.data.Dataset map operation.
test_pose_tf_posebody_frame_dropout_normal_eager_mode_num_frames_not_zero()Tests if frame dropout using normal distribution in Pose object with TensorFlow PoseBody preserves frame count.
test_pose_tf_posebody_frame_dropout_uniform_eager_mode_num_frames_not_zero()Checks if frame dropout using uniform distribution in Pose object with TensorFlow PoseBody preserves frame count.
test_pose_tf_posebody_normalize_distribution_eager_mode_correct_result()Tests if the normalization of distribution for Pose object with TensorFlow PoseBody returns expected result.
test_pose_tf_posebody_normalize_eager_mode_preserves_shape()Tests if the normalization of Pose object with TensorFlow PoseBody in eager mode preserves tensor shape.
- test_pose_frame_dropout_normal_can_be_used_in_tf_dataset_map()[source]
Tests if the frame_dropout_normal method of Pose object can be used within a tf.data.Dataset map operation.
- test_pose_frame_dropout_uniform_can_be_used_in_tf_dataset_map()[source]
Tests if the frame_dropout_uniform method of Pose object can be used within a tf.data.Dataset map operation.
- test_pose_normalize_can_be_used_in_tf_dataset_map()[source]
Tests if the normalize method of Pose object can be used within a tf.data.Dataset map operation.
- test_pose_normalize_distribution_can_be_used_in_tf_dataset_map()[source]
Tests if the normalize_distribution method of Pose object can be used within a tf.data.Dataset map operation.
- test_pose_tf_posebody_frame_dropout_normal_eager_mode_num_frames_not_zero()[source]
Tests if frame dropout using normal distribution in Pose object with TensorFlow PoseBody preserves frame count.
- test_pose_tf_posebody_frame_dropout_uniform_eager_mode_num_frames_not_zero()[source]
Checks if frame dropout using uniform distribution in Pose object with TensorFlow PoseBody preserves frame count.