Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GraphFunction (0.19 sec)

  1. tensorflow/c/eager/graph_function.h

    namespace tensorflow {
    namespace tracing {
    namespace graph {
    using tensorflow::AbstractFunction;
    // 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;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/graph_function.cc

    #include "tensorflow/core/platform/status.h"
    
    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();
    }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. 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();
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
Back to top