Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for _composite_fully_connected (0.6 sec)

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

        self._assertOpAndComposite([input_, filter_, bias],
                                   tf.function(gen_mnist_ops.new_fully_connected),
                                   ops_defs._composite_fully_connected, kwargs)
    
      def test_new_max_pool(self):
        input_ = tf.random.uniform([8, 4, 4, 1])
        kwargs = {
            'input_': input_,
            'stride_w': 2,
            'stride_h': 2,
    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

    @Composite(
        'NewFullyConnected',
        inputs=['input_: T', 'filter_: T', 'bias: T'],
        attrs=['act: {"", "RELU", "RELU6", "TANH"} = ""'],
        derived_attrs=['T: {float, int8}'],
        outputs=['o: T'])
    def _composite_fully_connected(input_, filter_, bias, act):
      res = tf.raw_ops.MatMul(
          a=input_, b=filter_, transpose_a=False, transpose_b=True)
      res = tf.raw_ops.Add(x=res, y=bias)
      if act == 'RELU':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/README.md

    @Composite(
        'FusedFullyConnected',
        inputs=['input_: T', 'filter_: T', 'bias: T'],
        attrs=['act: {"", "RELU", "RELU6", "TANH"} = ""'],
        derived_attrs=['T: {float, int8}'],
        outputs=['o: T'])
    def _composite_fully_connected(input_, filter_, bias, act):
      res = tf.raw_ops.MatMul(
          a=input_, b=filter_, transpose_a=False, transpose_b=True)
      res = tf.raw_ops.Add(x=res, y=bias)
      if act == 'RELU':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 29 18:32:13 UTC 2022
    - 6.2K bytes
    - Viewed (0)
Back to top