Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for resources (0.18 sec)

  1. tensorflow/c/eager/abstract_context.h

      explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {}
      virtual ~AbstractContext() {}
    
     public:
      AbstractContextKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
      // clients from directly destroying this object since it may manage its own
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  2. tensorflow/c/env.h

    // Item points are invalidated after a call to TF_StringStreamDone.
    TF_CAPI_EXPORT extern bool TF_StringStreamNext(TF_StringStream* list,
                                                   const char** result);
    
    // Frees the resources associated with given string list. All pointers returned
    // by TF_StringStreamNext are invalid after this call.
    TF_CAPI_EXPORT extern void TF_StringStreamDone(TF_StringStream* list);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // `output` if its a resource or variant tensor, or otherwise returns the empty
    // string.
    TF_CAPI_EXPORT extern TF_Buffer* TF_GetHandleShapeAndType(TF_Graph* graph,
                                                              TF_Output output);
    
    // Sets `output` based on `proto`, which should be a serialized
    // CppShapeInferenceResult::HandleData proto. `output` should be a resource
    // or variant tensor.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

     public:
      // Construct a Variable from a resource-dtype TFE_TensorHandle and an
      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
      // separate static method which returns a status.
      Variable(TFE_TensorHandle* handle, TF_DataType type)
          : handle_(handle), type_(type) {}
    
      // Helper for constructing a resource handle and wrapping it in a `Variable`
    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)
  5. tensorflow/c/eager/abstract_operation.h

      };
      explicit AbstractOperation(AbstractOperationKind kind) : kind_(kind) {}
      virtual ~AbstractOperation() {}
    
     public:
      AbstractOperationKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
      // clients from directly destroying this object since it may manage it's own
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/filesystem_interface.h

    // LINT.IfChange
    typedef struct TF_FilesystemOps {
      /// Acquires all resources used by the filesystem.
      ///
      /// This operation must be provided. See "REQUIRED OPERATIONS" above.
      void (*init)(TF_Filesystem* filesystem, TF_Status* status);
    
      /// Releases all resources used by the filesystem
      ///
      /// NOTE: TensorFlow does not unload DSOs. Thus, the only way a filesystem
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

                                                            TF_Status* status);
    
    // Some TF ops need a step container to be set to limit the lifetime of some
    // resources (mostly TensorArray and Stack, used in while loop gradients in
    // graph mode). Calling this on a context tells it to start a step.
    TF_CAPI_EXPORT extern void TFE_ContextStartStep(TFE_Context* ctx);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

        const char* plugin_resource_name, void* plugin_resource,
        void (*delete_func)(void*), TF_Status* status);
    
    // If the ResourceMgr provided by the `ctx` has a resource
    // `plugin_resource_name`, returns it in `*result_plugin_resource`. Otherwise,
    // invokes create_func to create the resource. `delete_func` is needed for
    // ResourceMgr to clean up the resource. `status` will be set. If `status` is
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/immediate_execution_context.h

      virtual void ClearCachesAndThreadExecutors() = 0;
    
      // Initialize the step resource container for a training step. This is used
      // in current TF runtime. For tfrt, it is used by fallback op handler.
      virtual void StartStep() = 0;
      // Destroy the step resource container for a training step.
      virtual void EndStep() = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/gradients.h

      // target element.
      Status ComputeGradient(
          AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> targets,
          absl::Span<AbstractTensorHandle* const> sources,
          absl::Span<AbstractTensorHandle* const> output_gradients,
          absl::Span<AbstractTensorHandle*> result);
    };
    
    }  // namespace gradients
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
Back to top