Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for INSERTED (0.14 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_weight_param.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-insert-weight-param | FileCheck %s
    
    // Test that q/dq pair with per-tensor quantization parameter is inserted
    // between constant and XlaCallModule op with empty `weight_only_ptq` method
    // and function name containing conv.
    
    func.func @qdq_for_conv_weight_empty(%arg0: tensor<1x3x2x3xf32>) -> tensor<1x2x2x2xf32> attributes {tf._original_func_name = "main_0"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/pipelines/process_nchw_tensor.mlir

    // RUN:   -split-input-file -verify-diagnostics | FileCheck %s
    
    // Tests that a `convolution(%activation, %weight)` with the activation tensor
    // NCHW format is converted to NHWC convolution. Transpose ops are inserted to
    // the activation and output to match the function signature. The weight
    // constant is transposed.
    
    // CHECK-LABEL: nchw_conv
    // CHECK-SAME: %[[ARG:.+]]: tensor<1x8x4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/op_or_arg_name_mapper.cc

    int OpOrArgNameMapper::InitOpName(OpOrVal op_or_val, llvm::StringRef name) {
      auto it = name_to_count_.try_emplace(name, 0);
      auto inserted = op_or_val_to_name_.try_emplace(
          op_or_val, StringRefToView(it.first->first()));
      (void)inserted;
      // TODO(jpienaar): Debug cases where we expect this behavior.
      // assert(inserted.second && "op_or_val already initialized");
      return it.first->second++;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/CollectionCodecs.kt

    
    val copyOnWriteArrayListCodec: Codec<CopyOnWriteArrayList<Any?>> = codec(
        { writeCollection(it) },
        {
            // Avoid the overhead of copying the underlying array for each inserted element
            // by creating the COW data structure from a list.
            CopyOnWriteArrayList(readList())
        }
    )
    
    
    val treeSetCodec: Codec<TreeSet<Any?>> = codec(
        {
            write(it.comparator())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc

          "^.*(conv|dot_general).*");
    
      WeightOnlyPtq& weight_only_ptq_spec =
          *spec.mutable_method()->mutable_weight_only_ptq();
      if (auto [iter, inserted] =
              weight_only_ptq_spec.mutable_input_quantized_types()->try_emplace(1);
          inserted) {
        iter->second.mutable_dimension_specs();
      }
      return spec;
    }
    
    // Returns a `QuantizationSpec` for performing static-range PTQ on the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/universe.go

    	universeComparable = Universe.Lookup("comparable")
    }
    
    // Objects with names containing blanks are internal and not entered into
    // a scope. Objects with exported names are inserted in the unsafe package
    // scope; other objects are inserted in the universe scope.
    func def(obj Object) {
    	assert(obj.color() == black)
    	name := obj.Name()
    	if strings.Contains(name, " ") {
    		return // nothing to do
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/go/types/universe.go

    	universeComparable = Universe.Lookup("comparable")
    }
    
    // Objects with names containing blanks are internal and not entered into
    // a scope. Objects with exported names are inserted in the unsafe package
    // scope; other objects are inserted in the universe scope.
    func def(obj Object) {
    	assert(obj.color() == black)
    	name := obj.Name()
    	if strings.Contains(name, " ") {
    		return // nothing to do
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/compiler_internal.go

    // does not have a name and if the result in the signature also does not have a name,
    // then the signature and field are renamed to
    //
    //	fmt.Sprintf("#rv%d", i+1)`
    //
    // the newly named object is inserted into the signature's scope,
    // and the object and new field name are returned.
    //
    // The intended use for RenameResult is to allow rangefunc to assign results within a closure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h

        bool ignore_unregistered_attrs, AttrValueMap* attributes);
    
    // Converts a MLIR operation to TensorFlow NodeDef with given node name. This
    // name should be unique to the graph it is being inserted to. If the
    // `ignore_unregistered_attrs` argument is set to true, the attributes which are
    // not in the op registry will be ignored. If the `ignore_unregistered_attrs`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_serialization.cc

        for (auto attr : backend_config) {
          if (attr.getName() != kCalledFuncAttrName) {
            new_config.push_back(attr);
          }
        }
    
        auto [it, inserted] =
            called_indexes.insert({called_func, called_indexes.size()});
        if (inserted) {
          function_list.push_back(called_func);
        }
    
        // Set the `called_index` attribute to the TF function's name.
        new_config.push_back(builder.getNamedAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top