Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for DELETE (1.02 sec)

  1. tensorflow/c/eager/c_api_experimental.h

      void (*execute)(const TFE_Op* op, int* num_outputs,
                      TFE_TensorHandle** outputs, TF_Status* s, void* device_info);
    
      // Method to delete a device.
      void (*delete_device)(void* device_info);
    
      // Implements TFE_CreatePackedTensorHandle when one of `handles` is on this
      // custom device.
      //
      // Many devices will want to simply return an "unimplemented" status
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler.h

    typedef struct TF_GraphProperties TF_GraphProperties;
    
    // Create GraphProperties. The item must outlive the properties.
    TF_CAPI_EXPORT extern TF_GraphProperties* TF_NewGraphProperties(
        const TF_GrapplerItem* item);
    
    // Delete GraphProperties.
    TF_CAPI_EXPORT extern void TF_DeleteGraphProperties(
        TF_GraphProperties* graph_properties);
    
    // Infer tensor shapes through abstract interpretation.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/testdata/callback/main.h

    	virtual std::string run() { return "Callback::run"; }
    };
    
    class Caller {
    private:
    	Callback *callback_;
    public:
    	Caller(): callback_(0) { }
    	~Caller() { delCallback(); }
    	void delCallback() { delete callback_; callback_ = 0; }
    	void setCallback(Callback *cb) { delCallback(); callback_ = cb; }
    	std::string call();
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
                device_value.release(), sizeof(DataType),
                [](void* data, size_t, void* arg) {
                  delete reinterpret_cast<DataType*>(data);
                },
                nullptr),
            TF_DeleteTensor);
        // TODO(allenl): Here and when executing regular operations, we could hold
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      if (op_id == -1) {
        // Do not delete watched tensors.
        return;
      }
      tensor_tape_.erase(tensor_op_it);
      auto op_it = op_tape_.find(op_id);
      CHECK(op_it != op_tape_.end());
      for (const auto& output : op_it->second.output_tensor_info) {
        if (tensor_usage_.find(output.GetID()) != tensor_usage_.end()) {
          // Found a usage for an output, so cannot delete the op.
          return;
        }
      }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/c_api.h

    // Retrieves the full name of the device (e.g. /job:worker/replica:0/...)
    // The return value will be a pointer to a null terminated string. The caller
    // must not modify or delete the string. It will be deallocated upon a call to
    // TF_DeleteDeviceList.
    //
    // If index is out of bounds, an error code will be set in the status object,
    // and a null pointer will be returned.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.h

          read_only_memory_region_ops_;
      std::function<void*(size_t)> plugin_memory_allocate_;
      std::function<void(void*)> plugin_memory_free_;
      ModularFileSystem(const ModularFileSystem&) = delete;
      void operator=(const ModularFileSystem&) = delete;
    };
    
    class ModularRandomAccessFile final : public RandomAccessFile {
     public:
      ModularRandomAccessFile(const std::string& filename,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // opaque pointer, since TensorFlow cannot parse it). `delete_func` is needed
    // for ResourceMgr to clean up the resource. `status` will be set.
    TF_CAPI_EXPORT extern void TF_CreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
        const char* plugin_resource_name, void* plugin_resource,
        void (*delete_func)(void*), TF_Status* status);
    
    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/checkpoint_reader.h

      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
      std::unique_ptr<TensorSliceReader::VarToDataTypeMap> var_to_data_type_map_;
    
      CheckpointReader(const CheckpointReader&) = delete;
      void operator=(const CheckpointReader&) = delete;
    };
    
    }  // namespace checkpoint
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_internal.h

      // TF_Graph may only / must be deleted when
      //   sessions.size() == 0 && delete_requested == true
      //
      // TODO(b/74949947): mutations currently trigger a warning instead of a bad
      // status, this should be reverted when possible.
      tensorflow::gtl::FlatMap<TF_Session*, tensorflow::string> sessions
          TF_GUARDED_BY(mu);
      bool delete_requested TF_GUARDED_BY(mu);  // set true by TF_DeleteGraph
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
Back to top