Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ConvModel (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

          strides: Sequence[int] = (1, 1, 1, 1),
          dilations: Sequence[int] = (1, 1, 1, 1),
          padding: str = 'SAME',
          has_func_alias: bool = False,
      ) -> module.Module:
        class ConvModel(module.Module):
          """A simple model with a single conv2d, bias and relu."""
    
          def __init__(self):
            self.out_channel_size = filter_shape[-1]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          activation_fn: Optional[ops.Operation] = None,
          strides: Sequence[int] = (1, 2, 2, 1),
          dilations: Sequence[int] = (1, 1, 1, 1),
          padding: str = 'SAME',
      ):
        class ConvModel(module.Module):
          """A simple model with a single conv2d, bias and relu."""
    
          def __init__(self):
            self.out_channel_size = filter_shape[-1]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

      def test_qat_conv_model(
          self,
          activation_fn: Optional[ops.Operation],
          has_bias: bool,
          has_batch_norm: bool,
          target_opset: quant_opts_pb2.OpSet,
      ):
        class ConvModel(module.Module):
    
          def __init__(self):
            self.filter_value = np.random.uniform(
                low=-0.5, high=0.5, size=(2, 3, 3, 2)
            ).astype('f4')
    
          @def_function.function(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top