Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Op (0.16 sec)

  1. tensorflow/c/eager/tfe_op_internal.h

    // the TFE_Op structure.
    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionOperation, TFE_Op);
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::ImmediateExecutionOperation*, TFE_Op*);
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 17 19:39:13 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_op_attrs.h

    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_
    
    #include "absl/container/inlined_vector.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Attributes of an op.
    class AbstractOpAttrs {
     protected:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  3. tensorflow/c/c_op_requires.h

    #ifndef TENSORFLOW_C_C_OP_REQUIRES_H_
    #define TENSORFLOW_C_C_OP_REQUIRES_H_
    
    #include "tensorflow/core/platform/macros.h"
    
    namespace tensorflow {
    
    // Convenience macros for asserting and handling exceptional conditions, for
    // C structs, including `TF_OpKernelContext`, `TF_Status`, etc. This is analogus
    // to the macros in tensorflow/core/framework/op_requires.h. This is provided
    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)
  4. tensorflow/c/eager/tfe_op_attrs_internal.h

    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    typedef struct TFE_Context TFE_Context;
    typedef struct TFE_Op TFE_Op;
    
    namespace tensorflow {
    DEFINE_CONVERSION_FUNCTIONS(tensorflow::AbstractOpAttrs, TFE_OpAttrs);
    
    // Set an AttrValue on the op. Doesn't handle the list types.
    void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op,
                              const tensorflow::AttrValue& default_value,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental.h

    // TODO(srbs): Add APIs for specifying attrs etc.
    // `op_type` must outlive `op`.
    void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type,
                                TF_Status* s);
    // `op_name` must outlive `op`.
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
                                TF_Status* s);
    // `attr_name` must outlive `op`.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.h

    // Fetch a reference to `op`'s attributes. The returned reference is only valid
    // while `op` is alive.
    TF_CAPI_EXPORT extern const TFE_OpAttrs* TFE_OpGetAttrs(const TFE_Op* op);
    // Add attributes in `attrs` to `op`.
    //
    // Does not overwrite or update existing attributes, but adds new ones.
    TF_CAPI_EXPORT extern void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_operation.h

    #include "tensorflow/core/framework/device_attributes.pb.h"
    #include "tensorflow/core/framework/op_def.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/util/managed_stack_trace.h"
    
    struct TFE_Op;
    
    namespace tensorflow {
    
    class ImmediateExecutionContext;
    class AbstractOpAttrs;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test_util.h

    // Return an add op multiplying `a` by `b`.
    TFE_Op* AddOp(TFE_Context* ctx, TFE_TensorHandle* a, TFE_TensorHandle* b);
    
    // Return a matmul op multiplying `a` by `b`.
    TFE_Op* MatMulOp(TFE_Context* ctx, TFE_TensorHandle* a, TFE_TensorHandle* b);
    
    // Return an identity op.
    TFE_Op* IdentityOp(TFE_Context* ctx, TFE_TensorHandle* a);
    
    // Return a shape op fetching the shape of `a`.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tracing_utils.h

    #define TENSORFLOW_C_EAGER_TRACING_UTILS_H_
    
    #include "tensorflow/c/eager/abstract_operation.h"
    
    namespace tensorflow {
    namespace tracing {
    Status MaybeSetOpName(AbstractOperation*, const char* op_name);
    }  // namespace tracing
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 31 17:39:44 GMT 2022
    - 1016 bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

        const char* device, TF_Status* status) {
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> op(
          TFE_NewOp(context, "TPUReplicatedInput", status), TFE_DeleteOp);
      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrInt(op.get(), "N", num_replicas);
      for (int i = 0; i < num_replicas; ++i) {
        TFE_OpAddInput(op.get(), components[i], status);
        if (TF_GetCode(status) != TF_OK) return nullptr;
      }
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
Back to top