Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OpKernel (0.25 sec)

  1. 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 {                                                            \
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. 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")
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. 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."));
      }
    };
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. 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.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
Back to top