Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for RemoveFunction (0.16 sec)

  1. tensorflow/c/eager/abstract_context.h

      virtual absl::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 absl::Status RemoveFunction(const string& func) = 0;
    
     private:
      const AbstractContextKind kind_;
    };
    
    namespace internal {
    struct AbstractContextDeleter {
      void operator()(AbstractContext* p) const {
        if (p != nullptr) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        return errors::Unimplemented(
            "Registering graph functions has not been implemented yet.");
      }
    
      absl::Status RemoveFunction(const string& func) override {
        return errors::Unimplemented(
            "GraphContext::RemoveFunction has not been implemented yet.");
      }
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kGraph;
      }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

    }
    
    void TF_GraphRemoveFunction(TF_Graph* g, const char* func_name,
                                TF_Status* status) {
      tensorflow::mutex_lock l(g->mu);
      status->status = g->graph.mutable_flib_def()->RemoveFunction(func_name);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.cc

      return result;
    }
    
    void TFE_ContextRemoveFunction(TFE_Context* ctx, const char* name,
                                   TF_Status* status) {
      status->status = tensorflow::unwrap(ctx)->RemoveFunction(name);
    }
    
    unsigned char TFE_ContextHasFunction(TFE_Context* ctx, const char* name) {
      return tensorflow::unwrap(ctx)->FindFunctionDef(name) != nullptr;
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top