Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 114 for function_ref (0.48 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h

    Status ConvertMlirFunctionToFunctionLibraryDef(mlir::func::FuncOp func,
                                                   const GraphExportConfig& configs,
                                                   FunctionDef* function_def);
    
    }  // namespace v2
    }  // namespace tf2xla
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h

    Status ConvertMlirFunctionToFunctionLibraryDef(mlir::func::FuncOp func,
                                                   const GraphExportConfig& configs,
                                                   FunctionDef* function_def);
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_remote_test_util.cc

      }
    
      TFE_Op* matmul = nullptr;
      if (func) {
        const string matmul_device = remote_func_outputs ? task2_name : "";
        string function_def = MatMulFunction(matmul_device);
        TFE_ContextAddFunctionDef(ctx, function_def.data(), function_def.size(),
                                  status);
        CHECK_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
        matmul = TFE_NewOp(ctx, "MatMulFunction", status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  4. tensorflow/cc/experimental/libtf/runtime/runtime.cc

      }
      TaggedValue module = TaggedValue::Dict();
    
      // Initialize concrete function traces.
      const RepeatedPtrField<FunctionDef> function_defs =
          tf_package->GetFunctionDefs();
      absl::flat_hash_map<std::string, AbstractFunctionPtr> traces;
      for (auto& fdef : function_defs) {
        AbstractFunctionPtr trace(new GraphFunction(fdef), /*add_ref=*/false);
        traces[fdef.signature().name()] = trace;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

      tensorflow::FunctionDef function_def;
      if (!function_def.ParseFromArray(serialized_function_def, size)) {
        status->status =
            tensorflow::errors::InvalidArgument("Invalid FunctionDef proto");
        return;
      }
    
      AnnotateEagerRuntimeConstructionContext(function_def);
      status->status = tensorflow::unwrap(ctx)->AddFunctionDef(function_def);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

                                  n->DebugString());
        }
      }
      return absl::OkStatus();
    }
    
    // Cheap check to tell whether FunctionDef contains a lifted argument.
    bool HasLiftedArgs(const FunctionDef& function_def) {
      return absl::c_any_of(function_def.node_def(), [](const NodeDef& node_def) {
        return (node_def.op() == "Placeholder" &&
                node_def.attr().find(kXlaLiftedArgOutsideCompilationAttrName) !=
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

      // the graph def function library.
      for (const FunctionDef& function :
           bundle.meta_graph_def().graph_def().library().function()) {
        std::unique_ptr<TFConcreteFunction> concrete_function;
        TF_RETURN_IF_ERROR(TFConcreteFunction::Create(/*function_def=*/&function,
                                                      /*captures=*/{},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/compilability_check_util_test.cc

             {"f",
              FunctionDefHelper::FunctionRef("IdentityRef", {{"T", DT_FLOAT}})},
             {kXlaMustCompileAttr, true}}}},
          /*ret_def=*/{{"z", "func_call:output:0"}});
    
      *library.add_function() = identity_func;
      *library.add_function() = call_identity;
    
      Output in = ops::Placeholder(root, DT_FLOAT);
      NameAttrList b_name_attr;
      b_name_attr.set_name("CallIdentity");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

                                                &capture_handle));
        captures.push_back(capture_handle);
      }
      // TODO(bmzhao): Create Metadata here
      return TFConcreteFunction::Create(/*function_def=*/builder.fdef,
                                        /*captures=*/std::move(captures),
                                        /*metadata=*/{},
                                        /*ctx=*/ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_kernel_creator_test.cc

      return std::make_shared<NodeProperties>(nullptr, std::move(node_def), dummy,
                                              dummy);
    }
    
    // Create a FunctionDef that takes one resource and one regular param
    FunctionDef XTimesY() {
      return FunctionDefHelper::Define(
          // Name
          "XTimesY",
          // Args
          {"x: float", "y: resource"},
          // Return values
          {"z: float"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
Back to top