Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,188 for Invert (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.cc

      }
    
      std::unordered_set<std::string> tag_set(tag_names.begin(), tag_names.end());
      return quant::stablehlo::SavedModelToMlirModuleOp(
          input_path, tag_set, exported_model_signatures, *context);
    }
    
    // Convert an TF module to a StableHLO module
    absl::StatusOr<OwningOpRef<ModuleOp>> ConvertTFToStablehlo(
        quant::stablehlo::ImportedMlirModuleOp imported_module,
        absl::string_view input_path, MLIRContext* context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_composite_functions.cc

      options.enable_per_channel_quantized_weight_ =
          enable_per_channel_quantized_weight_;
      // Change this to user-given bit width once we have custom configuration.
      options.bit_width_ = 8;
    
      // Insert quantization parameters for weights for ops with `weight_only_ptq`
      // attribute.
      pm.addNestedPass<func::FuncOp>(createInsertWeightParamPass());
    
      // PrepareQuantizePass uses SymbolTable to fetch relevant GEMM ops for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-convert-fake-quant-to-qdq -quant-lift-quantizable-spots-as-functions='target-opset=XLA' -quant-insert-quantized-functions -quant-quantize-composite-functions='target-opset=XLA' -symbol-dce -inline -tf-shape-inference -canonicalize -quant-replace-cast-hacks-with-tf-xla-ops -cse -quant-optimize | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 1219 : i32}, tf_saved_model.semantics} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

    // folding logic will use a "arith.constant" op to replace the
    // "tf.FakeQuantWithMinMaxVarsOp", the "quant.qcast" op is used to preserve
    // the quantization parameters as a TypeAttr and "quant.dcast" op used to
    // convert the output type to the next op. Here are the transformations:
    //
    // input   min cst       max cst              input
    //  \       |             |                     |
    //   \  (tf.Identity) (tf.Identity)   =>   quant.qcast
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. test/fixedbugs/issue21979.go

    package p
    
    func f() {
    	_ = bool("")      // ERROR "cannot convert .. \(.*untyped string.*\) to type bool|invalid type conversion"
    	_ = bool(1)       // ERROR "cannot convert 1 \(.*untyped int.*\) to type bool|invalid type conversion"
    	_ = bool(1.0)     // ERROR "cannot convert 1.* \(.*untyped float.*\) to type bool|invalid type conversion"
    	_ = bool(-4 + 2i) // ERROR "cannot convert -4 \+ 2i \(.*untyped complex.*\) to type bool|invalid type conversion"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 11 02:26:58 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. pkg/registry/core/service/storage/transaction_test.go

    				},
    				revert: func() {
    					temp = temp - 1
    				},
    			},
    			callbackTransaction{
    				commit: func() {
    					temp = temp + 2
    				},
    				revert: func() {
    					temp = temp - 2
    				},
    			},
    			callbackTransaction{
    				commit: func() {
    					temp = temp + 3
    				},
    				revert: func() {
    					temp = temp - 3
    				},
    			},
    		},
    		want: 10,
    	}, {
    		name: "missing revert",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 11 17:49:37 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/StartParameterConverterTest.groovy

            def initialProperties = initialPropertiesConverter.convert(parsedCommandLine)
            def buildLayout = buildLayoutConverter.convert(initialProperties, parsedCommandLine, null) {
                it.gradleUserHomeDir = userHome // don't use the default
            }
            def properties = propertiesConverter.convert(initialProperties, buildLayout)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/conversions0.go

    	const _ = string(true /* ERROR "cannot convert" */ )
    	const _ = string(1.2 /* ERROR "cannot convert" */ )
    	const _ = string(nil /* ERROR "cannot convert" */ )
    
    	// issues 11357, 11353: argument must be of integer type
    	_ = string(0.0 /* ERROR "cannot convert" */ )
    	_ = string(0i /* ERROR "cannot convert" */ )
    	_ = string(1 /* ERROR "cannot convert" */ + 2i)
    }
    
    func interface_conversions() {
    	type E interface{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/mlir_tflite_runner.cc

                   << "': " << error.message() << "\n";
        return 1;
      }
    
      // Load the MLIR module.
      mlir::DialectRegistry registry;
      registry.insert<mlir::TF::TensorFlowDialect, mlir::TFL::TensorFlowLiteDialect,
                      mlir::arith::ArithDialect, mlir::func::FuncDialect>();
      mlir::MLIRContext context(registry);
    
      llvm::SourceMgr source_mgr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/convert_func_to_bfloat16.mlir

      // CHECK: %[[BITCAST:.*]] = stablehlo.bitcast_convert %arg0 : (tensor<1x256128xi32>) -> tensor<1x256128xf32>
      // CHECK: %[[CONVERT:.*]] = stablehlo.convert %[[BITCAST]] : (tensor<1x256128xf32>) -> tensor<1x256128xbf16>
      // CHECK: return %[[CONVERT]] : tensor<1x256128xbf16>
      %20 = stablehlo.bitcast_convert %arg0 : (tensor<1x256128xi32>) -> tensor<1x256128xf32>
      return %20 : tensor<1x256128xf32>
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top