- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for OpKernel (0.09 seconds)
-
tensorflow/c/c_op_requires.h
// C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus // to the macros in tensorflow/core/framework/op_requires.h. This is provided // for plugin OpKernel developer's convenience. #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \ do { \
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Aug 02 21:35:06 GMT 2022 - 2.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test.cc
.Doc(R"doc(Test communication op throwing Unavailable error.)doc"); // Kernel that throws an Unavailable error. class TestUnavailableErrorOp : public tensorflow::OpKernel { public: explicit TestUnavailableErrorOp(tensorflow::OpKernelConstruction* ctx) : tensorflow::OpKernel(ctx) {} void Compute(tensorflow::OpKernelContext* ctx) override { ctx->SetStatus(tensorflow::errors::Unavailable("Test error.")); } };
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 94.6K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
TF_DeleteBuffer(api_def_buf); TF_DeleteApiDefMap(api_def_map); TF_DeleteBuffer(op_list_buf); } class DummyKernel : public tensorflow::OpKernel { public: explicit DummyKernel(tensorflow::OpKernelConstruction* context) : OpKernel(context) {} void Compute(tensorflow::OpKernelContext* context) override {} }; // Test we can query kernels REGISTER_OP("TestOpWithSingleKernel")
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
RELEASE.md
losses. * Added `LinearOperator.adjoint` and `LinearOperator.H` (alias). * Expose CriticalSection in core as `tf.CriticalSection`. * Enhanced graphviz output. * Add opkernel templates for common table operations. * Fix callbacks do not log values in eager mode when a deferred build model is used. * `SignatureDef` util functions have been deprecated.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3)