Repository: pytorch
Issue: TestSequenceOps.test_gather_padding failing
Labels: caffe2

```
=================================== FAILURES ===================================
_____________________ TestSequenceOps.test_gather_padding ______________________

self = <caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>

    @given(start_pad_width=st.integers(min_value=0, max_value=2),
>          end_pad_width=st.integers(min_value=0, max_value=2),
           args=_gen_test_add_padding(with_pad_data=True),
           **hu.gcs)
    def test_gather_padding(self, start_pad_width, end_pad_width, args, gc, dc):

lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py:189: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
../lib/python2.7/dist-packages/hypothesis/core.py:604: in execute
    result = self.test_runner(data, run)
../lib/python2.7/dist-packages/hypothesis/executors.py:58: in default_new_style_executor
    return function(data)
../lib/python2.7/dist-packages/hypothesis/core.py:595: in run
    return test(*args, **kwargs)
lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py:189: in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
../lib/python2.7/dist-packages/hypothesis/core.py:542: in test
    result = self.test(*args, **kwargs)
lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py:207: in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>
device_option = device_type: 1

op = input: "data"
input: "lengths"
output: "start_padding"
output: "end_padding"
n...
arg {
  name: "end_padding_width"
  i: 0
}
device_option {
  device_type: 1
}

inputs = [array([], dtype=float64), array([], dtype=int32)]
reference = <functools.partial object at 0x7fba1f33bb50>
input_device_options = None, threshold = 0.0001, output_to_grad = None
grad_reference = None, atol = 0.0001, outputs_to_check = [0, 1]

    def assertReferenceChecks(
        self,
        device_option,
        op,
        inputs,
        reference,
        input_device_options=None,
        threshold=1e-4,
        output_to_grad=None,
        grad_reference=None,
        atol=None,
        outputs_to_check=None,
    ):
        """
            This runs the reference Python function implementation
            (effectively calling `reference(*inputs)`, and compares that
            to the output of output, with an absolute/relative tolerance
            given by the `threshold` parameter.
    
            Useful for checking the implementation matches the Python
            (typically NumPy) implementation of the same functionality.
    
            Usage example:
    
                @given(X=hu.tensor(), inplace=st.booleans(), **hu.gcs)
                def test_softsign(self, X, inplace, gc, dc):
                    op = core.CreateOperator(
                        "Softsign", ["X"], ["X" if inplace else "Y"])
    
                    def softsign(X):
                        return (X / (1 + np.abs(X)),)
    
                    self.assertReferenceChecks(gc, op, [X], softsign)
            """
        op = copy.deepcopy(op)
        op.device_option.CopyFrom(device_option)
    
        with temp_workspace():
            if (len(op.input) > len(inputs)):
                raise ValueError(
                    'must supply an input for each input on the op: %s vs %s' %
                    (op.input, inputs))
            _input_device_options = input_device_options or \
                core.InferOpBlobDevicesAsDict(op)[0]
            for (n, b) in zip(op.input, inputs):
                workspace.FeedBlob(
                    n,
                    b,
                    device_option=_input_device_options.get(n, device_option)
                )
            net = core.Net("opnet")
            net.Proto().op.extend([op])
            test_shape_inference = False
            try:
                (shapes, types) = workspace.InferShapesAndTypes([net])
                test_shape_inference = True
            except RuntimeError as e:
                # Temporarily catch runtime errors when inferring shape
                # and type info
                logging.warning(str(e))
                if os.getenv('CAFFE2_ASSERT_SHAPEINFERENCE') == '1':
                    raise e
            workspace.RunNetOnce(net)
            reference_outputs = reference(*inputs)
            if not (isinstance(reference_outputs, tuple) or
                    isinstance(reference_outputs, list)):
                raise RuntimeError(
                    "You are providing a wrong reference implementation. A "
                    "proper one should return a tuple/list of numpy arrays.")
            if not outputs_to_check:
                self.assertEqual(len(reference_outputs), len(op.output))
                outputs_to_check = list(range(len(op.output)))
            outs = []
            for (output_index, ref) in zip(outputs_to_check, reference_outputs):
                output_blob_name = op.output[output_index]
                output = workspace.FetchBlob(output_blob_name)
                if output.dtype.kind in ('S', 'O'):
                    np.testing.assert_array_equal(output, ref)
                else:
                    if atol is None:
                        atol = threshold
                    np.testing.assert_allclose(
                        output, ref, atol=atol, rtol=threshold,
                        err_msg=(
                            'Output {0} is not matching the reference'.format(
>                               output_blob_name,
                            )),
                    )
E                   AssertionError: 
E                   Not equal to tolerance rtol=0.0001, atol=0.0001
E                   Output start_padding is not matching the reference
E                   (mismatch 100.0%)
E                    x: array(-4618794431967920128)
E                    y: array(0.)

lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py:575: AssertionError
----------------------------- Captured stderr call -----------------------------
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
WARNING:caffe2.python.workspace:CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
------------------------------ Captured log call -------------------------------
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
workspace.py               331 WARNING  CUDA operators do not support 64-bit doubles, please use arr.astype(np.float32) or np.int32 for ints. Blob: data type: float64
---------------------------------- Hypothesis ----------------------------------
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([], dtype=int32), array([], dtype=float32), 0.0, 0.0), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=2, args=(array([ 8, 10,  9,  0], dtype=int32),
 array([ 0.3465074 , -0.5783911 ,  0.3465074 ,  0.8693086 ,  0.3465074 ,
        -0.52675825,  0.3465074 ,  0.3465074 ,  0.3465074 ,  0.9321062 ,
        -0.9681313 ,  0.3465074 ,  0.85339016, -0.995281  ,  0.3465074 ,
         0.3465074 ,  0.3465074 , -0.6266759 ,  0.3465074 ,  0.25781822,
         0.3465074 ,  0.38632435, -0.44261232,  0.3465074 ,  0.86272967,
         0.3465074 ,  0.3465074 ], dtype=float32),
 -0.7661220172644854,
 0.32672292989354795), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=2, args=(array([10,  9, 10,  1,  7], dtype=int32),
 array([ 0.62059796,  0.62059796,  0.62059796, -0.1115087 ,  0.62059796,
         0.62059796,  0.62059796,  0.62059796,  0.62059796,  0.03708775,
         0.62059796,  0.62059796, -0.6321088 ,  0.62059796,  0.62059796,
         0.8428636 , -0.97314036, -0.664075  ,  0.62059796,  0.62059796,
         0.62059796,  0.62059796,  0.62059796,  0.62059796,  0.62059796,
         0.5944725 ,  0.62059796,  0.62059796,  0.62059796,  0.62059796,
         0.62059796, -0.2803797 ,  0.62059796,  0.5317449 ,  0.62059796,
         0.62059796,  0.62059796], dtype=float32),
 -0.7638539007421339,
 -0.7086946573830012), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([0, 8, 7, 4, 0], dtype=int32), array([[[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]],
 
        [[0.7863818],
         [0.7863818],
         [0.7863818]]], dtype=float32), array([[0.41727993],
        [0.41727993],
        [0.41727993]], dtype=float32), array([[-0.0011362 ],
        [-0.29718485],
        [-0.0011362 ]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [ 0.61785346, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.02449792, -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output end_padding is not matching the reference
(mismatch 100.0%)
 x: array(38654705669)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [ 0.61785346, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.02449792, -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output end_padding is not matching the reference
(mismatch 100.0%)
 x: array(38654705669)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[ 0.61785346,  0.61785346],
         [-0.62575763,  0.61785346],
         [ 0.61785346,  0.61785346]],
 
        [[ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346]],
 
        [[ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346]]], dtype=float32), array([[-0.71080756, -0.71080756],
        [-0.71080756, -0.71080756],
        [ 0.2294148 , -0.71080756]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([ 2, 10], dtype=int32),
 array([-0.4377519 ,  0.31514454, -0.3215343 , -0.6535671 ,  0.31514454,
         0.06280098,  0.31514454,  0.31514454,  0.31514454,  0.31514454,
         0.35126773,  0.31514454], dtype=float32),
 -0.8295155601085189,
 0.43787003682785286), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([ 2, 10], dtype=int32),
 array([-0.4377519 ,  0.31514454, -0.3215343 , -0.6535671 ,  0.31514454,
         0.06280098,  0.31514454,  0.31514454,  0.31514454,  0.31514454,
         0.35126773,  0.31514454], dtype=float32),
 -0.8295155601085189,
 0.43787003682785286), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([ 2, 10], dtype=int32),
 array([-0.4377519 ,  0.31514454, -0.3215343 , -0.6535671 ,  0.31514454,
         0.06280098,  0.31514454,  0.31514454,  0.31514454,  0.31514454,
         0.35126773,  0.31514454], dtype=float32),
 -0.8295155601085189,
 0.43787003682785286), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=0, args=(array([2, 1], dtype=int32),
 array([-0.12546732, -0.12546732, -0.12546732], dtype=float32),
 -0.6535670833836938,
 0.6457115366779941), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([], dtype=int32),
 array([], shape=(0, 3, 2), dtype=float32),
 array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.12546732,  0.6818886 ]], dtype=float32),
 array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([], dtype=int32),
 array([], dtype=float32),
 -0.12524509770606265,
 0.11963186579509325), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([], dtype=int32),
 array([], shape=(0, 3, 2), dtype=float32),
 array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.12546732,  0.6818886 ]], dtype=float32),
 array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([], dtype=int32),
 array([], dtype=float32),
 -0.12524509770606265,
 0.11963186579509325), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([1], dtype=int32),
 array([[-0.12546732,  0.61785346]], dtype=float32),
 array([ 0.2294148 , -0.71080756], dtype=float32),
 array([-0.50764036, -0.50764036], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([1], dtype=int32),
 array([[-0.12546732,  0.61785346]], dtype=float32),
 array([ 0.2294148 , -0.71080756], dtype=float32),
 array([-0.50764036, -0.50764036], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([1], dtype=int32),
 array([[-0.12546732,  0.61785346]], dtype=float32),
 array([ 0.2294148 , -0.71080756], dtype=float32),
 array([-0.50764036, -0.50764036], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([1], dtype=int32),
 array([[-0.12546732,  0.61785346]], dtype=float32),
 array([ 0.2294148 , -0.71080756], dtype=float32),
 array([-0.50764036, -0.50764036], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([1], dtype=int32),
 array([[-0.12546732,  0.61785346]], dtype=float32),
 array([ 0.2294148 , -0.71080756], dtype=float32),
 array([-0.50764036, -0.50764036], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([1], dtype=int32),
 array([[-0.12546732,  0.61785346]], dtype=float32),
 array([ 0.2294148 , -0.71080756], dtype=float32),
 array([-0.50764036, -0.50764036], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([ 3,  2, 10], dtype=int32),
 array([-1.3770291e-04, -1.3770291e-04,  6.1789516e-02, -6.5356708e-01,
        -1.3770291e-04, -1.3770291e-04, -7.5024533e-01, -1.3770291e-04,
        -1.3770291e-04, -1.3770291e-04,  3.5126773e-01, -1.3770291e-04,
        -1.3770291e-04,  8.8494122e-02, -1.8391909e-01], dtype=float32),
 0.7273016037656251,
 0.18778884372890753), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=0, args=(array([3, 2, 1], dtype=int32),
 array([-0.12546732, -0.12546732, -0.12546732, -0.12546732, -0.12546732,
        -0.12546732], dtype=float32),
 -0.6535670833836938,
 0.6457115366779941), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([ 3,  2, 10], dtype=int32),
 array([-1.3770291e-04, -1.3770291e-04,  6.1789516e-02, -6.5356708e-01,
        -1.3770291e-04, -1.3770291e-04, -7.5024533e-01, -1.3770291e-04,
        -1.3770291e-04, -1.3770291e-04,  3.5126773e-01, -1.3770291e-04,
        -1.3770291e-04,  8.8494122e-02, -1.8391909e-01], dtype=float32),
 0.7273016037656251,
 0.18778884372890753), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=0, args=(array([3, 2, 1], dtype=int32),
 array([-0.12546732, -0.12546732, -0.12546732, -0.12546732, -0.12546732,
        -0.12546732], dtype=float32),
 -0.6535670833836938,
 0.6457115366779941), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=0, args=(array([3], dtype=int32),
 array([-0.12546732, -0.12546732, -0.12546732], dtype=float32),
 -0.6535670833836938,
 0.6457115366779941), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.12546732,  0.6818886 ]], dtype=float32), array([-0.50764036, -0.50764036], dtype=float32), array([-0.6544955, -0.725019 ], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=1, args=(array([3], dtype=int32),
 array([0.24296041, 0.6318636 , 0.24296041], dtype=float32),
 0.6178534807058208,
 -0.25014082969376666), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.12546732,  0.6818886 ]], dtype=float32), array([-0.50764036, -0.50764036], dtype=float32), array([-0.6544955, -0.725019 ], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732]]], dtype=float32), array([[-0.17237663],
        [-0.9245386 ]], dtype=float32), array([[0.81811625],
        [0.08328725]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.12546732,  0.6818886 ]], dtype=float32), array([-0.50764036, -0.50764036], dtype=float32), array([-0.6544955, -0.725019 ], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732]]], dtype=float32), array([[-0.17237663],
        [-0.9245386 ]], dtype=float32), array([[0.81811625],
        [0.08328725]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.12546732,  0.6818886 ]], dtype=float32), array([-0.50764036, -0.50764036], dtype=float32), array([-0.6544955, -0.725019 ], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732]]], dtype=float32), array([[-0.17237663],
        [-0.9245386 ]], dtype=float32), array([[0.81811625],
        [0.08328725]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[-0.17049105,  0.2294148 , -0.62575763],
        [ 0.2294148 ,  0.2294148 ,  0.2294148 ],
        [ 0.2294148 ,  0.2294148 ,  0.2294148 ]], dtype=float32), array([-0.71080756, -0.71080756, -0.71080756], dtype=float32), array([-0.50764036, -0.50764036, -0.50764036], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]]], dtype=float32), array([[-0.9245386 ],
        [-0.9245386 ],
        [-0.17237663]], dtype=float32), array([[ 0.81811625],
        [ 0.08328725],
        [-0.75024533]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]],
 
        [[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]],
 
        [[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]]], dtype=float32), array([[-0.4270123 , -0.9667386 , -0.4270123 ],
        [ 0.15222359,  0.2294148 ,  0.12841824],
        [-0.4270123 , -0.4270123 , -0.7181849 ]], dtype=float32), array([[-0.8295156, -0.8295156, -0.8295156],
        [-0.8295156, -0.8295156, -0.8295156],
        [-0.8295156, -0.8295156, -0.8295156]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]]], dtype=float32), array([[-0.9245386 ],
        [-0.9245386 ],
        [-0.17237663]], dtype=float32), array([[ 0.81811625],
        [ 0.08328725],
        [-0.75024533]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]],
 
        [[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]],
 
        [[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]]], dtype=float32), array([[-0.4270123 , -0.9667386 , -0.4270123 ],
        [ 0.15222359,  0.2294148 ,  0.12841824],
        [-0.4270123 , -0.4270123 , -0.7181849 ]], dtype=float32), array([[-0.8295156, -0.8295156, -0.8295156],
        [-0.8295156, -0.8295156, -0.8295156],
        [-0.8295156, -0.8295156, -0.8295156]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]]], dtype=float32), array([[-0.9245386 ],
        [-0.9245386 ],
        [-0.17237663]], dtype=float32), array([[ 0.81811625],
        [ 0.08328725],
        [-0.75024533]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]],
 
        [[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]],
 
        [[0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186],
         [0.11963186, 0.11963186, 0.11963186]]], dtype=float32), array([[-0.4270123 , -0.9667386 , -0.4270123 ],
        [ 0.15222359,  0.2294148 ,  0.12841824],
        [-0.4270123 , -0.4270123 , -0.7181849 ]], dtype=float32), array([[-0.8295156, -0.8295156, -0.8295156],
        [-0.8295156, -0.8295156, -0.8295156],
        [-0.8295156, -0.8295156, -0.8295156]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]],
 
        [[-0.12546732],
         [-0.12546732],
         [-0.12546732]]], dtype=float32), array([[-0.9245386 ],
        [-0.9245386 ],
        [-0.17237663]], dtype=float32), array([[ 0.81811625],
        [ 0.08328725],
        [-0.75024533]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]],
 
        [[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]],
 
        [[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]]], dtype=float32), array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.71080756,  0.6818886 ]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]],
 
        [[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]],
 
        [[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]]], dtype=float32), array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.71080756,  0.6818886 ]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]],
 
        [[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]],
 
        [[-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732],
         [-0.12546732, -0.12546732]]], dtype=float32), array([[-0.71080756, -0.71080756],
        [-0.17237663, -0.71080756],
        [-0.71080756,  0.6818886 ]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [ 0.61785346, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.02449792, -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4618794431967920128)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [ 0.61785346, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.02449792, -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4618794431967920128)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[ 0.61785346,  0.61785346],
         [-0.62575763,  0.61785346],
         [ 0.61785346,  0.61785346]],
 
        [[ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346]],
 
        [[ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346],
         [ 0.61785346,  0.61785346]]], dtype=float32), array([[-0.71080756, -0.71080756],
        [-0.71080756, -0.71080756],
        [ 0.2294148 , -0.71080756]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.02449792, -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4618794431967920128)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[ 0.2294148 ,  0.2294148 ],
         [-0.62575763,  0.2294148 ],
         [ 0.2294148 ,  0.2294148 ]],
 
        [[ 0.2294148 ,  0.2294148 ],
         [ 0.2294148 ,  0.2294148 ],
         [ 0.2294148 ,  0.2294148 ]],
 
        [[ 0.2294148 ,  0.2294148 ],
         [ 0.2294148 ,  0.2294148 ],
         [ 0.2294148 ,  0.2294148 ]]], dtype=float32), array([[-0.71080756, -0.71080756],
        [-0.71080756, -0.71080756],
        [-0.71080756, -0.71080756]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652, -0.9667386 ],
         [-0.62575763,  0.27146652],
         [ 0.27146652,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [-0.7181849 ,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [-0.07308909,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [-0.07308909,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [ 0.07308909,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [ 0.3127855 ,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [ 0.07308909,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [ 0.3127855 ,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [ 0.07308909,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[ 0.27146652,  0.9559304 ],
         [-0.62575763,  0.27146652],
         [ 0.3127855 ,  0.27146652]],
 
        [[ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652],
         [ 0.01402934,  0.27146652]],
 
        [[ 0.27146652, -0.54356337],
         [ 0.27146652,  0.27146652],
         [ 0.27146652,  0.27146652]]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.1372088],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.06448297, -0.06448297],
         [-0.62575763, -0.06448297],
         [ 0.2294148 , -0.06448297]],
 
        [[-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297]],
 
        [[-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297]]], dtype=float32), array([[0.06280098, 0.06280098],
        [0.06280098, 0.06280098],
        [0.06280098, 0.06280098]], dtype=float32), array([[ 0.7273016 ,  0.7273016 ],
        [-0.81298965,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.06448297, -0.06448297],
         [-0.62575763, -0.06448297],
         [ 0.2294148 , -0.06448297]],
 
        [[-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297]],
 
        [[-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297],
         [-0.06448297, -0.06448297]]], dtype=float32), array([[0.06280098, 0.06280098],
        [0.06280098, 0.06280098],
        [0.06280098, 0.06280098]], dtype=float32), array([[ 0.7273016 ,  0.7273016 ],
        [-0.81298965,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.9667386 , -0.9667386 ],
         [-0.62575763, -0.9667386 ],
         [ 0.2294148 , -0.9667386 ]],
 
        [[-0.9667386 , -0.9667386 ],
         [-0.9667386 , -0.9667386 ],
         [-0.9667386 , -0.9667386 ]],
 
        [[-0.9667386 , -0.9667386 ],
         [-0.9667386 , -0.9667386 ],
         [-0.9667386 , -0.9667386 ]]], dtype=float32), array([[-0.7181849 ,  0.27146652],
        [-0.6544955 , -0.8447196 ],
        [ 0.27146652,  0.27146652]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.4377519 , -0.4377519 ],
         [-0.62575763, -0.4377519 ],
         [ 0.2294148 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]]], dtype=float32), array([[-1.3770291e-04, -1.3770291e-04],
        [-8.1298965e-01, -1.3770291e-04],
        [-1.3770291e-04,  6.2800981e-02]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.4379044],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.4377519 , -0.4377519 ],
         [-0.62575763, -0.4377519 ],
         [ 0.2294148 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]]], dtype=float32), array([[-1.3770291e-04, -1.3770291e-04],
        [-8.1298965e-01, -1.3770291e-04],
        [-1.3770291e-04,  6.2800981e-02]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.4379044],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.4377519 , -0.4377519 ],
         [-0.62575763, -0.4377519 ],
         [ 0.2294148 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]]], dtype=float32), array([[-1.3770291e-04, -1.3770291e-04],
        [-8.1298965e-01, -1.3770291e-04],
        [-1.3770291e-04,  6.2800981e-02]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.4379044],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.4377519 , -0.4377519 ],
         [-0.62575763, -0.4377519 ],
         [ 0.2294148 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]]], dtype=float32), array([[-1.3770291e-04, -1.3770291e-04],
        [-8.1298965e-01, -1.3770291e-04],
        [-1.3770291e-04,  6.2800981e-02]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.4379044],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.4377519 , -0.4377519 ],
         [-0.62575763, -0.4377519 ],
         [ 0.2294148 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]],
 
        [[-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ],
         [-0.4377519 , -0.4377519 ]]], dtype=float32), array([[-1.3770291e-04, -1.3770291e-04],
        [-8.1298965e-01, -1.3770291e-04],
        [-1.3770291e-04,  6.2800981e-02]], dtype=float32), array([[-0.1372088, -0.1372088],
        [-0.1372088, -0.4379044],
        [-0.1372088,  0.3028629]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.7181849 ,  0.27146652],
        [-0.6544955 , -0.8447196 ],
        [ 0.27146652,  0.27146652]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.7181849 ,  0.27146652],
        [-0.6544955 , -0.8447196 ],
        [ 0.27146652,  0.27146652]], dtype=float32), array([[-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[0.06280098, 0.06280098],
        [0.06280098, 0.06280098],
        [0.06280098, 0.06280098]], dtype=float32), array([[ 0.7273016 ,  0.7273016 ],
        [-0.81298965,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[0.06280098, 0.06280098],
        [0.06280098, 0.06280098],
        [0.06280098, 0.06280098]], dtype=float32), array([[ 0.7273016 ,  0.7273016 ],
        [-0.81298965,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[0.9559304, 0.9559304],
        [0.9559304, 0.9559304],
        [0.9559304, 0.9559304]], dtype=float32), array([[-1.3770291e-04, -6.0486221e-01],
        [-1.3770291e-04, -1.3770291e-04],
        [-1.3770291e-04,  8.8494122e-02]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533]], dtype=float32), array([[-0.37570858,  0.31514454],
        [-0.12539388, -0.37570858],
        [-0.07394399, -0.13174728]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533]], dtype=float32), array([[-0.37570858,  0.31514454],
        [-0.12539388, -0.37570858],
        [-0.07394399, -0.13174728]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533]], dtype=float32), array([[-0.37570858,  0.31514454],
        [-0.12539388, -0.37570858],
        [-0.07394399, -0.13174728]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533]], dtype=float32), array([[-0.37570858,  0.31514454],
        [-0.12539388, -0.37570858],
        [-0.07394399, -0.13174728]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533],
        [-0.75024533, -0.75024533]], dtype=float32), array([[-0.37570858,  0.31514454],
        [-0.12539388, -0.37570858],
        [-0.07394399, -0.13174728]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -1.2534568e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3770291e-04, -6.0486221e-01],
        [-1.3770291e-04, -1.3770291e-04],
        [-1.3770291e-04,  8.8494122e-02]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -1.2534568e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3770291e-04, -6.0486221e-01],
        [-1.3770291e-04, -1.3770291e-04],
        [-1.3770291e-04,  8.8494122e-02]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -1.2534568e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 ,  0.7273016 ],
        [-0.81298965,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 ,  0.7273016 ],
        [-0.81298965,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3770291e-04, -6.0486221e-01],
        [-1.3770291e-04, -1.3770291e-04],
        [-1.3770291e-04,  8.8494122e-02]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.81298965],
        [ 0.7273016 ,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[0.31514454, 0.10083199],
        [0.31514454, 0.31514454],
        [0.31514454, 0.31514454]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[0.31514454, 0.10083199],
        [0.31514454, 0.31514454],
        [0.31514454, 0.31514454]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3770291e-04, -6.0486221e-01],
        [-1.3770291e-04, -1.3770291e-04],
        [-1.3770291e-04,  8.8494122e-02]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.31514454, -0.10083199],
        [ 0.31514454,  0.31514454],
        [ 0.31514454,  0.31514454]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.12539388],
        [ 0.7273016 ,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.31514454, -0.10083199],
        [ 0.31514454,  0.31514454],
        [ 0.31514454,  0.31514454]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.12539388],
        [ 0.7273016 ,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.31514454, -0.10083199],
        [ 0.31514454,  0.31514454],
        [ 0.31514454,  0.31514454]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.12539388],
        [ 0.7273016 ,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.31514454, -0.10083199],
        [ 0.31514454,  0.31514454],
        [ 0.31514454,  0.31514454]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.12539388],
        [ 0.7273016 ,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.31514454, -0.10083199],
        [ 0.31514454,  0.31514454],
        [ 0.31514454,  0.31514454]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.12539388],
        [ 0.7273016 ,  0.7273016 ],
        [ 0.7273016 ,  0.31250054]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.02449792, -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4620624399421145088)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.6544955, -0.725019 ],
        [-0.6544955, -0.6544955],
        [-0.6544955, -0.6544955]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.6544955, -0.725019 ],
        [-0.6544955, -0.6544955],
        [-0.6544955, -0.6544955]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.4379044 , -0.725019  ],
        [-0.4379044 , -0.4379044 ],
        [-0.4379044 ,  0.03525195]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.4379044 , -0.725019  ],
        [-0.4379044 , -0.4379044 ],
        [-0.4379044 ,  0.03525195]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.4379044 , -0.725019  ],
        [ 0.03525195, -0.4379044 ],
        [-0.4379044 , -0.4379044 ]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -7.2501898e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -7.2501898e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.02449792, -0.725019  ],
        [ 0.550836  ,  0.02449792],
        [ 0.02449792,  0.02449792]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -7.2501898e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.725019  ],
        [-0.31250054,  0.7273016 ],
        [ 0.7273016 ,  0.7273016 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -7.2501898e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.725019  ],
        [-0.31250054,  0.7273016 ],
        [ 0.7273016 ,  0.7273016 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -7.2501898e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.725019  ],
        [-0.31250054,  0.7273016 ],
        [ 0.7273016 ,  0.7273016 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -7.2501898e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.725019  ],
        [-0.31250054,  0.7273016 ],
        [ 0.7273016 ,  0.7273016 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-1.3720880e-01, -7.2501898e-01],
        [-1.3770291e-04, -4.3790439e-01],
        [-1.3720880e-01,  3.0286291e-01]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[ 0.7273016 , -0.725019  ],
        [-0.31250054,  0.7273016 ],
        [ 0.7273016 ,  0.7273016 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.8234622 , -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4620624399421145088)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=1, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.5017104, -0.725019 ],
        [-0.6544955, -0.5017104],
        [-0.5017104, -0.5017104]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.8234622 , -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4620624399421145088)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.25073355, -0.725019  ],
        [-0.6544955 , -0.25073355],
        [-0.25073355, -0.25073355]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.8234622 , -0.725019  ],
        [-0.6544955 , -0.92966264],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4620624399421145088)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=2, end_pad_width=2, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.3693131, -0.725019 ],
        [-0.6544955, -0.3693131],
        [-0.3693131, -0.3693131]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.37570858, -0.725019  ],
        [-0.6544955 ,  0.9936301 ],
        [-0.37570858, -0.37570858]], dtype=float32)), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([3], dtype=int32), array([[[-0.71080756, -0.71080756],
         [-0.62575763, -0.71080756],
         [ 0.2294148 , -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]],
 
        [[-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756],
         [-0.71080756, -0.71080756]]], dtype=float32), array([[-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036],
        [-0.50764036, -0.50764036]], dtype=float32), array([[-0.8234622 , -0.725019  ],
        [-0.6544955 , -0.31397155],
        [-0.8234622 , -0.8234622 ]], dtype=float32)), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4620624399421145088)
 y: array([[0., 0.],
       [0., 0.],
       [0., 0.]])

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([], dtype=int32), array([], dtype=float32), 0.0, 0.0), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4620624399421145088)
 y: array(0.)

Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=1, end_pad_width=0, args=(array([], dtype=int32), array([], dtype=float32), 0.0, 0.0), gc=, dc=[, device_type: 1])
Trying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([], dtype=int32),
 array([], dtype=float32),
 -0.6964012176709845,
 -0.5087437279503267), gc=device_type: 1, dc=[, device_type: 1])
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 689, in evaluate_test_data
    result = self.execute(data, collect=True)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 604, in execute
    result = self.test_runner(data, run)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/executors.py", line 58, in default_new_style_executor
    return function(data)
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 600, in run
    return test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 189, in test_gather_padding
    end_pad_width=st.integers(min_value=0, max_value=2),
  File "/usr/local/lib/python2.7/dist-packages/hypothesis/core.py", line 542, in test
    result = self.test(*args, **kwargs)
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/operator_test/sequence_ops_test.py", line 207, in test_gather_padding
    reference=partial(_gather_padding_ref, start_pad_width, end_pad_width))
  File "/usr/local/caffe2/lib/python2.7/dist-packages/caffe2/python/hypothesis_test_util.py", line 575, in assertReferenceChecks
    output_blob_name,
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 1443, in assert_allclose
    verbose=verbose, header=header, equal_nan=equal_nan)
  File "/usr/local/lib/python2.7/dist-packages/numpy/testing/_private/utils.py", line 780, in assert_array_compare
    raise AssertionError(msg)
AssertionError: 
Not equal to tolerance rtol=0.0001, atol=0.0001
Output start_padding is not matching the reference
(mismatch 100.0%)
 x: array(-4618794431967920128)
 y: array(0.)

Falsifying example: test_gather_padding(self=<caffe2.python.operator_test.sequence_ops_test.TestSequenceOps testMethod=test_gather_padding>, start_pad_width=0, end_pad_width=0, args=(array([], dtype=int32), array([], dtype=float32), 0.0, 0.0), gc=device_type: 1, dc=[, device_type: 1])

You can reproduce this example by temporarily adding @reproduce_failure('3.66.8', 'AXicY2DAAIwMAAAXAAI=') as a decorator on your test case
 generated xml file: /var/lib/jenkins/workspace/caffe2_tests/python/result.xml -
```

Sample: https://ci.pytorch.org/jenkins/job/caffe2-builds/job/py2-cuda9.0-cudnn7-aten-ubuntu16.04-test/4954/consoleText