HomeSort by relevance Sort by last modified time
    Searched refs:base_paddings (Results 1 - 3 of 3) sorted by null

  /external/tensorflow/tensorflow/python/kernel_tests/
spacetobatch_op_test.py 629 def _checkProperties(self, input_shape, block_shape, base_paddings, paddings,
634 if base_paddings is None:
635 base_paddings = np.zeros((num_block_dims, 2), np.int32)
636 self.assertEqual(base_paddings.shape, (num_block_dims, 2))
640 self.assertEqual(paddings[i, 0], base_paddings[i, 0])
641 self.assertLessEqual(0, paddings[i, 1] - base_paddings[i, 1])
642 self.assertLess(paddings[i, 1] - base_paddings[i, 1], block_shape[i])
647 self.assertEqual(crops[i, 1], paddings[i, 1] - base_paddings[i, 1])
649 def _test(self, input_shape, block_shape, base_paddings):
652 if base_paddings is not None
    [all...]
  /external/tensorflow/tensorflow/python/ops/
array_ops.py     [all...]
nn_ops.py 568 self.base_paddings = _with_space_to_batch_base_paddings(
573 self.base_paddings = None
575 self.base_paddings = np.zeros([num_spatial_dims, 2], np.int32)
600 base_paddings = self.base_paddings
601 if base_paddings is None:
602 # base_paddings could not be computed at build time since static filter
605 base_paddings = _with_space_to_batch_base_paddings(
609 base_paddings=base_paddings,
    [all...]

Completed in 72 milliseconds