Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for operations (0.2 sec)

  1. tensorflow/c/eager/tfe_op_internal.h

    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/immediate_execution_operation.h"
    
    // Wraps a pointer to an operation implementation.
    //
    // WARNING: Since the underlying object could be ref-counted a user of this
    // interface cannot destruct the underlying operation object. Instead, call
    // TFE_DeleteOp who calls Release() on the operation pointer and deletes
    // the TFE_Op structure.
    typedef struct TFE_Op TFE_Op;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jun 17 19:39:13 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tracing_utils.h

    ==============================================================================*/
    #ifndef 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 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 31 17:39:44 GMT 2022
    - 1016 bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

        TF_Status* status);
    
    // Controls how to act when we try to run an operation on a given device but
    // some input tensors are not on that device.
    // LINT.IfChange
    // Note: Keep in sync with internal copy of enum in eager/context.h.
    typedef enum TFE_ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/eager/immediate_execution_context.h

    enum ContextDevicePlacementPolicy {
      // Running operations with input tensors on the wrong device will fail.
      DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default policy.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_internal.h

        return ptr->getKind() == kGraph || ptr->getKind() == kMlir;
      }
    };
    
    // An abstract operation describes an operation by its type, name, and
    // attributes. It can be "executed" by the context with some input tensors.
    // It is allowed to reusing the same abstract operation for multiple execution
    // on a given context, with the same or different input tensors.
    class TracingOperation : public AbstractOperation {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Nov 13 22:20:40 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  6. tensorflow/c/eager/gradients.h

    // maintains the map from `op_id` to a `OpTapeEntry` which stores the `op_type`,
    // inputs and outputs and the gradient function These data structures combined
    // allow us to trace the data dependencies between operations and hence compute
    // gradients.
    //
    // `ZerosLike` is not expected to be called and returns a nullptr. The creation
    // of default zeros grads is handled by the `DefaultGradientFunction` registered
    // for each op.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_OPERATION_H_
    #define TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_OPERATION_H_
    
    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    class TapeOperation : public AbstractOperation {
     public:
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/gradients/tape/tape_context.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_CONTEXT_H_
    #define TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_CONTEXT_H_
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    
    namespace tensorflow {
    namespace gradients {
    class TapeContext : public AbstractContext {
     public:
      explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&);
      void Release() override;
    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)
  9. tensorflow/c/eager/abstract_operation.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_OPERATION_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_OPERATION_H_
    
    #include <memory>
    
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/c/c_test_util.h

    TF_Operation* Min(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                      TF_Status* s, const char* name = "min");
    
    TF_Operation* Mul(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                      TF_Status* s, const char* name = "mul");
    
    // If `op_device` is non-empty, set the created op on that device.
    TF_Operation* MinWithDevice(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
Back to top