Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Gill (0.14 sec)

  1. tensorflow/c/c_api.cc

    // `src_inputs[i]` will have that input replaced with `dst_inputs[i]`.  `prefix`
    // will be prepended to copied node names. `control_deps` are nodes in
    // `dst_graph` that the copied `src_graph` nodes will have control dependencies
    // on. `return_nodes` are nodes in `src_graph`, and the new corresponding nodes
    // in `dst_graph` will be returned. `return_nodes` must be non-null.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/gradient_checker.cc

      // If the output is a scalar, then return the scalar output
      if (num_dims_out == 0) {
        outputs[0] = model_out.release();
        return absl::OkStatus();
      }
    
      // Else, reduce sum the output to get a scalar
    
      // Will sum all dimensions, so get a Tensor containing [0,...,num_dims_out-1].
      AbstractTensorHandlePtr sum_dims;
      {
        vector<int32_t> vals(num_dims_out);
        int64_t vals_shape[] = {num_dims_out};
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

    };
    
    using ExecutorPtr = std::unique_ptr<TFE_Executor, ExecutorDeleter>;
    
    }  // namespace
    
    // Allows a single op at a time to be launched without blocking.
    //
    // DeviceThread itself is thread-safe, in that StartExecute will block if there
    // is a pending execution. Since StartExecute is equivalent to grabbing a lock,
    // multiple DeviceThreads should always be accessed in the same order to avoid
    // deadlocks.
    class DeviceThread {
     public:
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    // -------------------------  VariableInfo  ------------------------------------
    struct TF_VariableInfo {
      TF_VariableInfo() = delete;
      // TF_VariableInfo is constructed here by TensorFlow, and will be passed to
      // plugin as a opaque pointer. Plugin will need to call C APIs below to
      // operate on TF_VariableInfo (such as allocate temp tensor for the `var` held
      // by the underlying tensorflow::VariableInfo.
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  5. tensorflow/c/c_api_function.cc

                 : absl::OkStatus();
    }
    
    // Converts `ninputs` and `inputs` into `inputs_tensors` and `input_nodes` and
    // does various checks while doing so. `input_nodes` will contain the same
    // information as input_tensors just in a different structure to make
    // following processing easier. TODO(iga): Simplify this nested structure.
    Status ProcessInputs(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  6. tensorflow/c/eager/c_api_distributed_test.cc

    // span the local and remote workers. If the graph optimization pass is executed
    // on both the main function side and the component function side, an error will
    // be thrown in the registered graph optimization pass.
    TEST(CAPI, DistributedFunctionGraphPassOnlyOnce) {
      // Register graph pass that will raise error if called more than once.
      tensorflow::optimization_registration::OptimizationPassRegistration
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    #include "tensorflow/c/tf_file_statistics.h"
    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for POSIX environments.
    // This filesystem will support `file://` and empty (local) URI schemes.
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

    struct TF_AttrBuilder : public tensorflow::AttrBuilder {
      using tensorflow::AttrBuilder::AttrBuilder;
      // The string buffers to make sure that any `attr_name` we pass into
      // `builder->Set()` will outlive the subsequent
      // `TF_AttrBuilderCheckCanRunOnDevice()` call(s) on the same `builder`.
      std::set<std::string> attr_names;
    };
    
    TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(fetchValues[1]);
    }
    
    // REGISTER_OP for CApiAttributesTest test cases.
    // Registers two ops, each with a single attribute called 'v'.
    // The attribute in one op will have a type 'type', the other
    // will have list(type).
    #define ATTR_TEST_REGISTER_OP(type)                           \
      REGISTER_OP("CApiAttributesTestOp" #type)                   \
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  10. tensorflow/c/eager/dlpack.cc

    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Managing context for the DLManagedTensor, will manage the lifetime of
    // DLManagedTensor. When calling DLManagedTensor::deleter, it will notify the
    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
      std::vector<int64_t> strides;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
Back to top