Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for _composite_max_pool (0.28 sec)

  1. tensorflow/compiler/mlir/tfr/examples/mnist/mnist_ops_test.py

            'padding': 'SAME',
        }
    
        self._assertOpAndComposite([input_],
                                   tf.function(gen_mnist_ops.new_max_pool),
                                   ops_defs._composite_max_pool, kwargs)
    
    
    if __name__ == '__main__':
      os.environ[
          'TF_MLIR_TFR_LIB_DIR'] = 'tensorflow/compiler/mlir/tfr/examples/mnist'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        attrs=[
            'stride_w: int', 'stride_h: int', 'filter_width: int',
            'filter_height: int', 'padding: {"SAME", "VALID"}'
        ],
        derived_attrs=['T: {float, int8}'],
        outputs=['o: T'])
    def _composite_max_pool(input_, stride_w, stride_h, filter_width, filter_height,
                            padding):
      ksize = [1, filter_width, filter_height, 1]
      strides = [1, stride_w, stride_h, 1]
      return tf.raw_ops.MaxPool(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top