Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for conv_func (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        self.assertNotEmpty(function_aliases)
        self.assertCountEqual(function_aliases.values(), {'conv_func'})
    
        # Test that the aliased function contains a quantized op.
        for func_name, alias in function_aliases.items():
          if alias == 'conv_func':
            for func in meta_graph_def.graph_def.library.function:
              if func.signature.name == func_name:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-lift-quantizable-spots-as-functions | FileCheck %s
    
    // CHECK-LABEL: @conv_fn(
    // CHECK-SAME:          %[[ARG_0:.*]]: tensor<1x3x3x4xf32>
    func.func @conv_fn(%arg0: tensor<1x3x3x4xf32>) -> tensor<1x3x3x4xf32> {
      %0 = stablehlo.constant dense<2.000000e+00> : tensor<3x3x4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

                                       updated_argument_types[arg.getArgNumber()]);
      }
      rewriter.applySignatureConversion(&entry.front(), signature_conversion);
    }
    
    // Changes the function type of `cond_func` and `body_func` for the given While
    // op.
    LogicalResult UpdateFunctionTypesForWhileOp(
        ConversionPatternRewriter &rewriter, TF::WhileOp op, ValueRange operands,
        const llvm::SmallSet<int, 4> &tensor_list_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // This case covers for the following quantization patterns because
    // activation clipping ranges take affect in scale and zp of the final
    // `stablehlo.uniform_quantize`. See more details in b/319168201.
    // * conv_fn
    // * conv_with_relu_fn
    // * conv_with_relu6_fn
    
    func.func @conv_srq(%arg0: tensor<1x5x5x2x!quant.uniform<i8:f32, 2.000000e+00:0>>) -> (tensor<1x4x4x4x!quant.uniform<i8:f32, 8.000000e+00:-128>>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
Back to top