- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for RemoveFunction (0.22 sec)
-
tensorflow/c/experimental/gradients/tape/tape_context.cc
} Status TapeContext::RegisterFunction(AbstractFunction* f) { return parent_ctx_->RegisterFunction(f); } Status TapeContext::RemoveFunction(const string& func) { return parent_ctx_->RemoveFunction(func); } } // namespace gradients
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.7K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
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 { void operator()(AbstractContext* p) const { if (p != nullptr) {
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_context.h
public: explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&); void Release() override; TapeOperation* CreateOperation() override; Status RegisterFunction(AbstractFunction*) override; Status RemoveFunction(const string& func) override; // For LLVM style RTTI. static bool classof(const AbstractContext* ptr) { return ptr->getKind() == kTape; } ~TapeContext() override; private:
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
return errors::Unimplemented( "Registering graph functions has not been implemented yet."); } 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; }
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) -
tensorflow/c/eager/unified_api_testutil.cc
if (!null_indices.contains(i)) { outputs[i] = fn_outputs[i - skipped_indices]; } else { skipped_indices += 1; } } TF_RETURN_IF_ERROR(ctx->RemoveFunction(fn_name)); return absl::OkStatus(); } else { return model(ctx, inputs, outputs); } } Status BuildImmediateExecutionContext(bool use_tfrt, AbstractContext** ctx) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0) -
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);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
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; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2)