Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for spain (0.18 sec)

  1. tensorflow/c/eager/gradients.cc

    }
    
    std::vector<int64_t> MakeTensorIDList(
        absl::Span<AbstractTensorHandle* const> tensors) {
      std::vector<int64_t> ids(tensors.size());
      for (int i = 0; i < tensors.size(); i++) {
        ids[i] = ToId(tensors[i]);
      }
      return ids;
    }
    
    Status Tape::ComputeGradient(
        AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> targets,
        absl::Span<AbstractTensorHandle* const> sources,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/math_grad.cc

      return tensorflow::ops::Conj(ctx, input, output, name);
    }
    
    class AddGradientFunction : public GradientFunction {
     public:
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        // TODO(b/161805092): Support broadcasting.
    
        DCHECK(grad_outputs[0]);
        grad_inputs[0] = grad_outputs[0];
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

          return tensorflow::errors::InvalidArgument(
              "Unable to cast input to GraphTensor");
        }
        TF_AddInput(op_.get(), t->output_);
        return absl::OkStatus();
      }
      Status AddInputList(absl::Span<AbstractTensorHandle* const> inputs) override {
        std::vector<TF_Output> tf_outputs(inputs.size());
        for (int i = 0; i < inputs.size(); i++) {
          GraphTensor* t = dyn_cast<GraphTensor>(inputs[i]);
          if (!t) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  4. tensorflow/c/eager/BUILD

                "//tensorflow/core/common_runtime/eager:tensor_handle",
                "//tensorflow/core/profiler/lib:traceme",
                "@com_google_absl//absl/algorithm:container",
                "@com_google_absl//absl/types:span",
                "@com_google_absl//absl/types:variant",
            ],
        }) + [
            ":abstract_tensor_handle",
            "//tensorflow/c:c_api_macros_hdrs",
            "//tensorflow/core:gpu_runtime",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_context.h

    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_CONTEXT_H_
    
    #include <functional>
    #include <map>
    #include <memory>
    #include <vector>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/immediate_execution_distributed_manager.h"
    #include "tensorflow/c/eager/immediate_execution_operation.h"
    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)
  6. tensorflow/c/eager/c_api_experimental.cc

                  unwrapped_handle);
          tensorflow::ImmediateExecutionTensorHandle* result;
          status->status = custom_device_handle->device()->Pack(
              absl::Span<tensorflow::ImmediateExecutionTensorHandle*>(
                  tensorflow::unwrap(handles), *num_handles),
              &result);
          return tensorflow::wrap(result);
        }
        tensor_handles.push_back(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  7. tensorflow/c/eager/c_api.cc

            retvals[i] = tensorflow::unwrap(outputs[i]);
            retvals[i]->Ref();
            TFE_DeleteTensorHandle(outputs[i]);
          }
        }
        return status.status;
      }
    
      tensorflow::Status Pack(absl::Span<ImmediateExecutionTensorHandle*> handles,
                              ImmediateExecutionTensorHandle** result) override {
        TF_Status status;
        *result = tensorflow::unwrap(device_.pack(context_,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  8. tensorflow/c/experimental/gradients/math_grad_test.cc

    Status AddModel(AbstractContext* ctx,
                    absl::Span<AbstractTensorHandle* const> inputs,
                    absl::Span<AbstractTensorHandle*> outputs) {
      return ops::AddV2(ctx, inputs[0], inputs[1], &outputs[0], "Add");
    }
    
    Status ExpModel(AbstractContext* ctx,
                    absl::Span<AbstractTensorHandle* const> inputs,
                    absl::Span<AbstractTensorHandle*> outputs) {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

      Status ComputeGradient(
          const VSpace<Gradient, BackwardFunction, TapeTensor>& vspace,
          const absl::Span<const int64_t> target_tensor_ids,
          const absl::Span<const int64_t> source_tensor_ids,
          const std::unordered_map<int64, TapeTensor>& sources_that_are_targets,
          gtl::ArraySlice<Gradient*> output_gradients, absl::Span<Gradient*> result,
          bool build_default_zeros_grads = true);
    
    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)
  10. 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"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/tfe_op_internal.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)
Back to top