Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 109 for functionName (0.34 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/library_compatibility_test.go

    	libs = append(libs, authzLibraryDecls, listsLibraryDecls, regexLibraryDecls, urlLibraryDecls, quantityLibraryDecls, ipLibraryDecls, cidrLibraryDecls)
    	functionNames := sets.New[string]()
    	for _, lib := range libs {
    		for name := range lib {
    			functionNames[name] = struct{}{}
    		}
    	}
    
    	// WARN: All library changes must follow
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 12:03:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/visitor.cc

      llvm::SmallDenseSet<func::FuncOp> added;
      for (const llvm::StringRef function_name : function_names) {
        auto func =
            llvm::dyn_cast_or_null<func::FuncOp>(symbol_table.lookupSymbolIn(
                module, builder.getStringAttr(function_name)));
        if (func == nullptr) {
          return module.emitError()
                 << "Cannot find function '" << function_name << "'";
        }
    
        const WalkResult result = WalkReachableFunctions(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 03:46:51 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py

        # Add op names to the function name.
        function_name = 'quantized_{}'.format(
            _format_snake_case_op_name(quantized_ops[0]))
        if len(quantized_ops) > 1:
          function_name += '_with_{}'.format(
              _format_snake_case_op_name(quantized_ops[1]))
        if len(quantized_ops) > 1:
          for quantized_op in quantized_ops[2:]:
            function_name += '_and_{}'.format(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 20 01:38:06 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

                                             StringRef function_name) const {
        // Disable quantization for the DepthwiseConv since it has no benefits in
        // the XLA opset.
        if (function_name.contains("depthwise_conv2d")) {
          return absl::InternalError(
              "DepthwiseConv2D doesn't get any benefit of quantization in XLA.");
        } else if (function_name.contains("conv2d")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        if (!op->hasAttr(kQuantTraitAttrName)) return failure();
        StringRef function_name = f_attr.getValue();
        // TODO(b/228928859): Improve the getter function to match attributes rather
        // than function name.
        if (!function_name.starts_with("composite_")) {
          return failure();
        }
    
        if (function_name.contains("depthwise_conv2d")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc

        R"pb(specs
             [ {
               matcher { function_name { regex: "composite_dot_general_.*" } }
               method { no_quantization {} }
             }])pb";
    
    // Configure `QuantizationSpecs` to apply `StaticRangePtq` to all quantizable
    // units.
    constexpr absl::string_view kSpecsStaticRangePtqToAll =
        R"pb(specs
             [ {
               matcher { function_name { regex: ".*" } }
               method { static_range_ptq {} }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/compilability_check_util_test.cc

      EXPECT_EQ("", stacktrace_first_node_info.function_name);
    
      const auto& stacktrace_second_node_info = node_stack.at(1);
      EXPECT_EQ(kUncompilableFunctionNodeName, stacktrace_second_node_info.name);
      EXPECT_EQ(kUncompilableFunctionName,
                stacktrace_second_node_info.function_name);
    
      EXPECT_EQ(kUncompilableFunctionNodeName, node_info.name);
      EXPECT_TRUE(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

        llvm::StringRef name = pass_registration.pass->name();
    
        if (DEBUG_DATA_DUMPER()->ShouldDump(function_name, kDebugGroupMain) ||
            VLOG_IS_ON(1)) {
          ::tensorflow::DumpMlirOpToFile(
              DEBUG_DATA_DUMPER()->GetDumpFilename(
                  function_name, kDebugGroupMain,
                  llvm::formatv("mlir_{0}_before", name)),
              *module_ref, llvm::StringRef(), nullptr);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

          }
        }
    
        StringRef function_name =
            mlir::cast<FlatSymbolRefAttr>(call_op.getFAttr()).getValue();
        if ((quantization_method_ == tensorflow::quantization::QuantizationMethod::
                                         METHOD_DYNAMIC_RANGE_INT8) &&
            (function_name.contains("batch_matmul") ||
             function_name.contains("conv3d"))) {
          call_op->removeAttr(kQuantTraitAttrName);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

        llvm::StringRef function_name, llvm::ArrayRef<Tensor> arguments) {
      // Get the kernel entrypoint function.
      const Function* compute = bef_file_->GetFunction(function_name);
      CHECK(compute) << "Entrypoint function not found";
      CHECK_EQ(arguments.size() + 1, compute->num_arguments())
          << "Wrong number of arguments for function " << function_name.str();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top