Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 109 for functionName (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

      """
      loader = saved_model_loader.SavedModelLoader(saved_model_dir)
      meta_graph_def = loader.get_meta_graph_def_from_tags(tags)
    
      for function_name, function_alias in function_aliases.items():
        meta_graph_def.meta_info_def.function_aliases[function_name] = (
            function_alias
        )
    
      saved_model_proto_serialized = loader.saved_model.SerializeToString()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_test_util.h

    bool GetAttrValue(TF_Operation* oper, const char* attr_name,
                      tensorflow::AttrValue* attr_value, TF_Status* s);
    
    // Returns a sorted vector of std::pair<function_name, gradient_func> from
    // graph_def.library().gradient()
    std::vector<std::pair<string, string>> GetGradDefs(
        const tensorflow::GraphDef& graph_def);
    
    // Returns a sorted vector of names contained in `grad_def`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions.cc

      FailureOr<std::string> quantization_method_txtpb =
          QuantizationMethodToTextProto(quantization_method);
      if (failed(quantization_method_txtpb)) return failure();
    
      const FunctionNameMatcher matcher(spec.matcher().function_name());
      // Iterate over all XlaCallModuleOp in all FuncOps.
      for (auto func : module_op.getOps<func::FuncOp>()) {
        for (auto xla_call_module_op : func.getOps<TF::XlaCallModuleOp>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolverTest.groovy

            macros << macro("FILE_NAME", '"test.h"')
            macros << macro("FUNCTION_NAME", 'FILENAME')
            macroFunctions << macroFunction("FILENAME(X)", "FILE##X")
            macroFunctions << macroFunction("TEST2(X, Y)", "X##Y")
            macroFunctions << macroFunction("TEST(X, Y)", "TEST2(X, (Y))")
    
            expect:
            def result = resolve(include('TEST(FUNCTION_NAME, _NAME)'))
            result.complete
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        StringRef function_name = f_attr.getValue();
        // TODO(b/228928859): Improve the getter function to match attributes rather
        // than function name.
        // If enable_legacy_weight_only is enabled, QuantizeFunctionsPattern
        // does not get called and function remains as composite
        if (!function_name.starts_with("quantized_") &&
            !function_name.starts_with("composite_")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

    #include "tsl/lib/core/status_test_util.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Produce a valid graph with a resource-type input.
    FunctionDef PassThroughResource() {
      return FunctionDefHelper::Define(
          /*function_name=*/"PassThroughResource",
          /*arg_def=*/{"in: resource"},
          /*ret_def=*/{"out: resource"},
          /*attr_def=*/{},
          /*node_def=*/
          {{{"out"}, "Identity", {"in"}, {{"T", DataType::DT_RESOURCE}}}});
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/compilability_check_util.cc

      // not considered uncompilable.
      if (node_stack_trace != nullptr) {
        for (const auto& frame : *node_stack_trace) {
          stack_trace.emplace_back(
              StackFrameView{frame.name, frame.function_name, frame.stack_trace});
        }
      }
      stack_trace.emplace_back(
          StackFrameView{node.name(), "", node.GetStackTrace()});
    
      RecursiveCompilabilityChecker::UncompilableNodesMap uncompilable_nodes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      // Return early if the function has already been exported.
      bool is_new_function = visited_functions.insert(function).second;
      if (!is_new_function) return absl::OkStatus();
    
      auto function_name = FindFunctionName(configs, function);
    
      // TODO(fengliuai): use a small flib_def to reduce overhead
      absl::flat_hash_set<Node*> control_ret_nodes;
      TF_ASSIGN_OR_RETURN(
          auto sub_graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      // Return early if the function has already been exported.
      bool is_new_function = visited_functions.insert(function).second;
      if (!is_new_function) return absl::OkStatus();
    
      auto function_name = FindFunctionName(configs, function);
    
      // TODO(fengliuai): use a small flib_def to reduce overhead
      absl::flat_hash_set<Node*> control_ret_nodes;
      TF_ASSIGN_OR_RETURN(
          auto sub_graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

      struct DeferredConversionMetaData {
        DeferredConversionMetaData(
            const std::string& function_name,
            const std::vector<mlir::NamedAttribute>& attributes)
            : function_name(function_name), attributes(attributes) {}
    
        std::string function_name;
        std::vector<mlir::NamedAttribute> attributes;
      };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top