Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for memory (0.28 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // bytes of the memory pointed to by the device pointer returned above.
    TF_CAPI_EXPORT extern size_t TFE_TensorHandleDeviceMemorySize(TFE_TensorHandle*,
                                                                  TF_Status*);
    
    // Creates a new TensorHandle from memory residing in the physical device
    // device_name. Takes ownership of the memory, and will call deleter to release
    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

      TF_TriState pin_to_host_optimization;
      TF_TriState layout_optimizer;
      TF_TriState remapping;
      TF_TriState loop_optimization;
      TF_TriState dependency_optimization;
      TF_TriState auto_parallel;
      TF_TriState memory_optimization;
      TF_TriState scoped_allocator_optimization;
    } TP_OptimizerConfigs;
    
    #define TP_OPTIMIZER_CONFIGS_STRUCT_SIZE \
      TF_OFFSET_OF_END(TP_OptimizerConfigs, scoped_allocator_optimization)
    
    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. tensorflow/c/c_api_experimental.h

    // `enable_xla_compilation` is non-zero, and OFF otherwise.
    // b) ConfigProto.gpu_options.allow_growth is set to `gpu_memory_allow_growth`.
    // c) ConfigProto.device_count is set to `num_cpu_devices`.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CreateConfig(
        unsigned char enable_xla_compilation, unsigned char gpu_memory_allow_growth,
        unsigned int num_cpu_devices);
    
    // Create a serialized tensorflow.RunOptions proto, where RunOptions.trace_level
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_
    #define TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_
    
    #include <memory>
    #include <optional>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "absl/types/variant.h"
    #include "tensorflow/c/c_api.h"
    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/c_api.h

        TFE_TensorHandle* h, TF_Status* status);
    
    // This function will block till the operation that produces `h` has
    // completed. The memory returned might alias the internal memory used by
    // TensorFlow. Hence, callers should not mutate this memory (for example by
    // modifying the memory region pointed to by TF_TensorData() on the returned
    // TF_Tensor).
    TF_CAPI_EXPORT extern TF_Tensor* TFE_TensorHandleResolve(TFE_TensorHandle* h,
    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)
  6. tensorflow/c/eager/tape.h

          });
      return m;
    }
    
    }  // namespace
    
    // If over kMinAggregateCount gradients are accumulated and the total
    // memory consumption is over kMinAggregateBytes, do an early aggregation
    // so as to release the gradient tensor to save memory.
    constexpr int kMinAggregateCount = 4;
    constexpr int kMinAggregateBytes = 128 * 1024 * 1024;
    
    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)
  7. tensorflow/c/eager/immediate_execution_context.h

      // Create a tensor instance from the given data buffer and description.
      // `memory_releaser` will be called on destruction, and it's responsible for
      // cleaning up the underlying buffer.
      virtual AbstractTensorInterface* CreateTensor(
          DataType dtype, const int64_t* dims, int num_dims, void* data, size_t len,
          MemoryReleaser memory_releaser, void* memory_releaser_arg) = 0;
    
      // Create a handle to wrap and manage a Tensor
    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)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_GCS_RAM_FILE_BLOCK_CACHE_H_
    
    #include <functional>
    #include <iostream>
    #include <list>
    #include <map>
    #include <memory>
    #include <string>
    #include <vector>
    
    #include "absl/base/thread_annotations.h"
    #include "absl/synchronization/mutex.h"
    #include "absl/synchronization/notification.h"
    #include "tensorflow/c/env.h"
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
Back to top