Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for memcpy (0.15 sec)

  1. tensorflow/c/c_api.h

    //
    // Returns a TF_Buffer. The memory pointed to by the result is owned by
    // lib_handle. The data in the buffer will be the serialized OpList proto for
    // ops defined in the library.
    TF_CAPI_EXPORT extern TF_Buffer TF_GetOpList(TF_Library* lib_handle);
    
    // Frees the memory associated with the library handle.
    // Does NOT unload the library.
    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)
  2. 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)
  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/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)
  5. tensorflow/c/eager/tfe_monitoring_internal.h

    #ifndef TENSORFLOW_C_EAGER_TFE_MONITORING_INTERNAL_H_
    #define TENSORFLOW_C_EAGER_TFE_MONITORING_INTERNAL_H_
    
    #include <functional>
    #include <memory>
    #include <string>
    
    #include "absl/memory/memory.h"
    #include "tensorflow/core/lib/monitoring/counter.h"
    #include "tensorflow/core/lib/monitoring/gauge.h"
    #include "tensorflow/core/lib/monitoring/sampler.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/c_test.c

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include <limits.h>
    #include <memory.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <unistd.h>
    
    #ifdef _WIN32
    #include <process.h>
    #endif
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_experimental.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. 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"
    #include "tensorflow/core/framework/tensor_shape.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)
  9. 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)
          : filesystem_(std::move(filesystem)),
            ops_(std::move(filesystem_ops)),
            random_access_file_ops_(std::move(random_access_file_ops)),
            writable_file_ops_(std::move(writable_file_ops)),
    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)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

      ops->writable_file_ops_api = TF_WRITABLE_FILE_OPS_API;
      ops->writable_file_ops_size = TF_WRITABLE_FILE_OPS_SIZE;
      ops->read_only_memory_region_ops_abi = TF_READ_ONLY_MEMORY_REGION_OPS_ABI;
      ops->read_only_memory_region_ops_api = TF_READ_ONLY_MEMORY_REGION_OPS_API;
      ops->read_only_memory_region_ops_size = TF_READ_ONLY_MEMORY_REGION_OPS_SIZE;
    }
    
    /// Initializes a TensorFlow plugin.
    ///
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top