Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 81 for tconv (0.04 sec)

  1. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

    # MLIR:         %[[conv:.*]] = "tfl.conv_2d"(%[[ARG_0]], %[[weight]], %[[bias]]) <{dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 1 : i32, stride_w = 1 : i32}
    # MLIR:         %[[reshape:.*]] = "tfl.reshape"(%[[conv]], %[[shape]]) : (tensor<1x1x1x186x!quant.uniform<i8:f32, 0.09363494573854933:22>>, tensor<3xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions -quant-quantize-composite-functions | FileCheck %s
    
    module {
      func.func @conv(%arg0: tensor<1x2x2x3xf32>) -> (tensor<*xf32>, tensor<*xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 01:23:21 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/fmt.go

    	OCALLMETH:         8,
    	OCALL:             8,
    	OCAP:              8,
    	OCLEAR:            8,
    	OCLOSE:            8,
    	OCOMPLIT:          8,
    	OCONVIFACE:        8,
    	OCONVNOP:          8,
    	OCONV:             8,
    	OCOPY:             8,
    	ODELETE:           8,
    	OGETG:             8,
    	OLEN:              8,
    	OLITERAL:          8,
    	OMAKESLICE:        8,
    	OMAKESLICECOPY:    8,
    	OMAKE:             8,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

        const auto module_op = op->getParentOfType<ModuleOp>();
        const SymbolTable symbol_table(module_op);
        func::FuncOp func = symbol_table.lookup<func::FuncOp>(function_name);
    
        if (function_name.contains("conv")) {
          return (*(func.getOps<mlir::stablehlo::ConvolutionOp>().begin()))
              .getDimensionNumbers()
              .getKernelOutputFeatureDimension();
        } else if (function_name.contains("dot_general")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/config_test.cc

      ASSERT_THAT(new_config.specs().specs(), SizeIs(1));
    
      const QuantizationSpec& spec = new_config.specs().specs(0);
      EXPECT_THAT(spec.matcher().function_name().regex(),
                  StrEq("^.*(conv|dot_general).*"));
      EXPECT_TRUE(spec.method().has_weight_only_ptq());
    
      const WeightOnlyPtq& weight_only_ptq_spec = spec.method().weight_only_ptq();
    
      EXPECT_THAT(weight_only_ptq_spec.input_quantized_types(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 06:59:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    // or `std::nullopt` if the given op is not per-channel quantizable.
    std::optional<int64_t> GetDotGeneralQuantizationDim(
        ::mlir::stablehlo::DotGeneralOp dot_general_op);
    
    // Checks if a `StringRef` contains 'conv' or 'dot_general'.
    bool ContainsConvOrDot(StringRef str);
    
    }  // namespace mlir::quant
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. operator/cmd/mesh/test-util_test.go

    }
    
    func mustGetLabels(t test.Failer, obj object.K8sObject, path string) map[string]string {
    	t.Helper()
    	got := mustGetPath(t, obj, path)
    	conv, ok := got.(map[string]any)
    	if !ok {
    		t.Fatalf("could not convert %v", got)
    	}
    	ret := map[string]string{}
    	for k, v := range conv {
    		sv, ok := v.(string)
    		if !ok {
    			t.Fatalf("could not convert to string %v", v)
    		}
    		ret[k] = sv
    	}
    	return ret
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/post-quantize.mlir

    // CHECK-NEXT:  %[[conv:.*]] = "tfl.conv_2d"(%arg0, %[[q_cst_0]], %[[q_cst_1]]) <{dilation_h_factor = 1 : i32, dilation_w_factor = 1 : i32, fused_activation_function = "NONE", padding = "SAME", stride_h = 2 : i32, stride_w = 2 : i32}>
    // CHECK-NEXT:  %[[reshape:.*]] = "tfl.reshape"(%[[conv]], %[[cst]]) : (tensor<1x112x112x32x!quant.uniform<u8:f32, 0.023528476789885875>>, tensor<2xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/func.go

    		// pick off before type-checking arguments
    		arg, ok := needOneArg(n, "conversion to %v", l.Type())
    		if !ok {
    			n.SetType(nil)
    			return n
    		}
    
    		n := ir.NewConvExpr(n.Pos(), ir.OCONV, nil, arg)
    		n.SetType(l.Type())
    		return tcConv(n)
    	}
    
    	RewriteNonNameCall(n)
    	typecheckargs(n)
    	t := l.Type()
    	if t == nil {
    		n.SetType(nil)
    		return n
    	}
    	types.CheckSize(t)
    
    	switch l.Op() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

      // FakeQuant).
      bool disable_per_channel = false;
    
      // Whether to disable per-channel weight quantization and enable legacy per
      // tensor quantization. The legacy quantization for Dense layers is
      // inconsistent with Conv 1x1 which always performs per channel quantization.
      bool disable_per_channel_for_dense_layers = false;
    
      // Whether to use fixed output ranges of the activation ops (tanh, sigmoid,
      // etc.) and not infer weight constants.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top