Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,185 for fdef (0.16 sec)

  1. tensorflow/c/c_api_function.cc

      tensorflow::GradientDef gdef;
      gdef.set_function_name(func->record->fdef().signature().name());
      gdef.set_gradient_func(grad->record->fdef().signature().name());
      status->status = g->graph.AddGradientDef(std::move(gdef));
    }
    
    int TF_GraphNumFunctions(TF_Graph* g) {
      tensorflow::mutex_lock l(g->mu);
      return g->graph.flib_def().num_functions();
    }
    
    int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  2. tensorflow/c/eager/graph_function.h

    // Thin wrapper around a FunctionDef.
    class GraphFunction : public AbstractFunction {
     public:
      explicit GraphFunction(FunctionDef fdef);
      ~GraphFunction() override;
    
      // GraphFunction maybe stay alive for the duration of the returned
      // FunctionDef.
      Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/graph_function.cc

    namespace tensorflow {
    namespace tracing {
    namespace graph {
    GraphFunction::GraphFunction(FunctionDef fdef)
        : AbstractFunction(kGraph),
          func_record_(new FunctionRecord(std::move(fdef), {}, true)) {}
    GraphFunction::~GraphFunction() {}
    Status GraphFunction::GetFunctionDef(const FunctionDef **fdef) {
      *fdef = &(func_record_->fdef());
      return absl::OkStatus();
    }
    }  // namespace graph
    }  // namespace tracing
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

        tensorflow::FunctionDef fdef;
        ASSERT_TRUE(GetFunctionDef(func_, &fdef));
        VerifyFDefNodes(fdef, nodes);
        VerifyFDefInputs(fdef, inputs);
        VerifyFDefOutputs(fdef, outputs);
        VerifyFDefEdges(fdef, e_edges, c_edges, is_exact_edges);
      }
    
      // Serialize func_ to fdef and import it back
      void Reincarnate() {
        // func_ -> fdef
        tensorflow::FunctionDef fdef;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.C.4.txt

       FDD0-FDEF; [NONCHARACTER CODE POINTS]
       FFFE-FFFF; [NONCHARACTER CODE POINTS]
       1FFFE-1FFFF; [NONCHARACTER CODE POINTS]
       2FFFE-2FFFF; [NONCHARACTER CODE POINTS]
       3FFFE-3FFFF; [NONCHARACTER CODE POINTS]
       4FFFE-4FFFF; [NONCHARACTER CODE POINTS]
       5FFFE-5FFFF; [NONCHARACTER CODE POINTS]
       6FFFE-6FFFF; [NONCHARACTER CODE POINTS]
       7FFFE-7FFFF; [NONCHARACTER CODE POINTS]
       8FFFE-8FFFF; [NONCHARACTER CODE POINTS]
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 772 bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental.cc

      for (const FunctionDef& fdef : fdef_lib.function()) {
        // Make a copy so that we can mutate it.
        FunctionDef fdef_to_load = fdef;
        if (mutate_proto_func) {
          (*mutate_proto_func)(&fdef_to_load);
        }
        VLOG(1) << "Adding func to graph: " << fdef_to_load.DebugString();
        std::vector<char> binary_proto_buf(fdef_to_load.ByteSizeLong());
        fdef_to_load.SerializeToArray(binary_proto_buf.data(),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_context.h

      // available to be called/referenced by its name in this context.
      virtual Status RegisterFunction(AbstractFunction*) = 0;
      // Remove a function. 'func' argument is the name of a previously added
      // FunctionDef. The name is in fdef.signature.name.
      virtual Status RemoveFunction(const string& func) = 0;
    
     private:
      const AbstractContextKind kind_;
    };
    
    namespace internal {
    struct AbstractContextDeleter {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.cc

    }
    
    void TFE_ContextAddFunction(TFE_Context* ctx, TF_Function* function,
                                TF_Status* status) {
      auto fdef_or = function->record->mutable_fdef();
      if (!fdef_or.ok()) {
        status->status = fdef_or.status();
        return;
      }
    
      AnnotateEagerRuntimeConstructionContext(*fdef_or.value());
      status->status = tensorflow::unwrap(ctx)->AddFunctionDefWithStackTraces(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. tensorflow/c/eager/immediate_execution_context.h

      // Add a function (serialized FunctionDef protocol buffer) so that it can
      // be executed as an op. Return error if the function with the same name
      // already exists.
      virtual Status AddFunctionDef(const FunctionDef& fdef) = 0;
    
      // Notifies about the function removal.
      virtual Status AddRemoveFunctionNotifier(const string& func,
                                               std::function<void()> notifier) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental_graph.cc

                                       graph_outputs.size(), graph_outputs.data(),
                                       nullptr, nullptr, name_.data(), s);
        *f = new GraphFunction(std::move(func->record->fdef()));
        TF_DeleteFunction(func);
        TF_RETURN_IF_ERROR(StatusFromTF_Status(s));
        TF_DeleteStatus(s);
        return absl::OkStatus();
      }
    
      Status RegisterFunction(AbstractFunction* func) override {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
Back to top