Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Constructor (0.17 sec)

  1. tensorflow/c/c_api.cc

    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/common_runtime/eval_const_tensor.h"
    #include "tensorflow/core/common_runtime/graph_constructor.h"
    #include "tensorflow/core/common_runtime/shape_refiner.h"
    #include "tensorflow/core/config/flag_defs.h"
    #include "tensorflow/core/config/flags.h"
    #include "tensorflow/core/framework/allocation_description.pb.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/array_grad.cc

                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        for (int i = 0; i < grad_outputs.size(); i++) {
          auto grad_input = grad_outputs[i];
          // TODO(srbs): Should we add a copy contructor to AbstractTensorHandle
          // that takes care of this similar to `Tensor`?
          if (grad_input) {
            grad_input->Ref();
          }
          grad_inputs[i] = grad_input;
        }
        return absl::OkStatus();
      }
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<string, string> {
      typedef std::pair<string, string> Base;
    
      // Inherit the set of constructors
      using Base::pair;
    
      string ToString() const { return strings::StrCat(first, "->", second); }
    };
    
    class CApiFunctionTest : public ::testing::Test {
     protected:
      CApiFunctionTest()
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top