Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for construct (0.19 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

                                                           TFE_TensorHandle* tensor,
                                                           TF_Status* status) const;
    
      // Construct a parallel tensor consisting of the scalar values from `values`.
      template <typename DataType>
      std::unique_ptr<ParallelTensor> ScalarsFromSequence(
          absl::Span<const DataType> values, TFE_Context* context,
    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)
  2. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

    namespace tensorflow {
    namespace parallel_device {
    
    // A helper for performing common operations on variables. A much more
    // restricted stand-in for tf.Variable in Python.
    class Variable {
     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
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_FunctionToFunctionDef(TF_Function* func,
                                                        TF_Buffer* output_func_def,
                                                        TF_Status* status);
    
    // Construct and return the function whose FunctionDef representation is
    // serialized in `proto`. `proto_len` must equal the number of bytes
    // pointed to by `proto`.
    // Returns:
    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)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

                            // of block_size.
      std::unique_ptr<ExpiringLRUCache<GcsFileStat>> stat_cache;
      GCSFile(google::cloud::storage::Client&& gcs_client);
      // This constructor is used for testing purpose only.
      GCSFile(google::cloud::storage::Client&& gcs_client, bool compose,
              uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

    // Sets a thread-local device placement policy. After this call, other calls to
    // TFE_Execute in the same thread will use the device policy specified here
    // instead of the device policy used to construct the context. This has no
    // effect on the device policy used by other program threads.
    TF_CAPI_EXPORT extern void TFE_ContextSetThreadLocalDevicePlacementPolicy(
        TFE_Context* ctx, TFE_ContextDevicePlacementPolicy policy);
    
    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/c_api_experimental.h

                                                   void* device_info);
    
      // Method to execute an operation.
      //
      // Arguments provide enough information to reconstruct the original `TFE_Op`,
      // or construct a transformed version, by inspecting the passed `op`.
      //
      // TFE_OpGetDevice(op) records the original placement of the operation. It may
    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)
  7. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern void TF_DeleteShapeAndTypeListArray(
        TF_ShapeAndTypeList** shape_list_array, int num_items);
    
    // Infer shapes for the given `op`. The arguments mimic the arguments of the
    // `shape_inference::InferenceContext` constructor. Note the following:
    //   - The inputs of the `op` are not used for shape inference. So, it is
    //     OK to not have the inputs properly set in `op`. See `input_tensors`
    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)
  8. tensorflow/c/eager/c_api_unified_experimental.h

    // context. The provided `ctx` is consumed by this API call and deleted.
    // The returned TF_AbstractFunction must be deleted by the client,
    // TODO(aminim): clarify the contract on the state of the context after this
    // call.
    TF_AbstractFunction* TF_FinalizeFunction(TF_ExecutionContext* ctx,
                                             TF_OutputList*, TF_Status*);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_internal.h

    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    #include "tensorflow/core/framework/op_gen_lib.h"
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    #include "tensorflow/core/common_runtime/graph_constructor.h"
    #include "tensorflow/core/common_runtime/shape_refiner.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

    class RamFileBlockCache {
     public:
      /// The callback executed when a block is not found in the cache, and needs to
      /// be fetched from the backing filesystem. This callback is provided when the
      /// cache is constructed. It returns total bytes read ( -1 in case of errors
      /// ). The `status` should be `TF_OK` as long as the read from the remote
      /// filesystem succeeded (similar to the semantics of the read(2) system
      /// call).
    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