Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for tace (0.16 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_operation.cc

    ==============================================================================*/
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    TapeOperation::TapeOperation(AbstractOperation* parent_op, Tape* tape,
                                 const GradientRegistry& registry)
        : AbstractOperation(kTape),
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  2. tensorflow/c/eager/tape.h

        tensor_stack.pop_back();
        auto op_id_it = tensor_tape.find(tensor_id);
        if (op_id_it == tensor_tape.end()) {
          continue;
        }
        int64_t op_id = op_id_it->second;
        auto op_it = op_tape->find(op_id);
        auto result_op_it = result.op_tape.find(op_id);
        if (op_id == -1 || op_it == op_tape->end() ||
            result_op_it != result.op_tape.end()) {
          continue;
        }
    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)
  3. tensorflow/c/experimental/gradients/tape/tape_operation.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_OPERATION_H_
    #define TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_OPERATION_H_
    
    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/gradients.h"
    
    namespace tensorflow {
    namespace gradients {
    class TapeOperation : public AbstractOperation {
     public:
      explicit TapeOperation(AbstractOperation*, Tape*, const GradientRegistry&);
      void Release() override;
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  4. tensorflow/c/experimental/gradients/tape/tape_context.h

    #ifndef TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_CONTEXT_H_
    #define TENSORFLOW_C_EXPERIMENTAL_GRADIENTS_TAPE_TAPE_CONTEXT_H_
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    
    namespace tensorflow {
    namespace gradients {
    class TapeContext : public AbstractContext {
     public:
      explicit TapeContext(AbstractContext*, Tape*, const GradientRegistry&);
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/gradients/tape/tape_context.cc

    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_operation.h"
    
    namespace tensorflow {
    namespace gradients {
    TapeContext::TapeContext(AbstractContext* c, Tape* tape,
                             const GradientRegistry& registry)
        : AbstractContext(kTape), parent_ctx_(c), tape_(tape), registry_(registry) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/gradients.cc

        input_ids[i] = ToId(inputs[i]);
        input_dtypes[i] = inputs[i]->DataType();
      }
      std::vector<TapeTensor> tape_tensors;
      tape_tensors.reserve(outputs.size());
      for (auto t : outputs) {
        tape_tensors.push_back(TapeTensor(t));
      }
      GradientTape::RecordOperation(
          op_name, tape_tensors, input_ids, input_dtypes,
          [gradient_function]() -> GradientFunction* { return gradient_function; },
    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)
  7. tensorflow/c/eager/gradients.h

      AbstractTensorHandle* GetHandle() const;
    
     private:
      AbstractTensorHandle* handle_;
    };
    
    // A tracing/immediate-execution agnostic tape.
    //
    // Gradient functions defined for this tape must support handling null incoming
    // gradients.
    class Tape : protected eager::GradientTape<AbstractTensorHandle,
                                               GradientFunction, TapeTensor> {
     public:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/array_grad_test.cc

    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/experimental/gradients/grad_test_helper.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    #include "tensorflow/c/experimental/ops/array_ops.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/platform/tensor_float_32_utils.h"
    #include "tensorflow/core/platform/test.h"
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental.h

    // here.
    void TF_SetTracingImplementation(const char* name, TF_Status*);
    
    // Creates a new TensorFlow function. A Function is an execution context, and as
    // such it can trace operations through TF_ExecuteOperation. After completing
    // tracing, a function can be obtained by TF_FinalizeFunction.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* 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)
  10. CONTRIBUTING.md

    ![image](https://github.com/tensorflow/tensorflow/assets/52792999/3eea4ca5-daa0-4570-b0b5-2a2b03a724a3)
    
    ### Contributor License Agreements
    
    We'd love to accept your patches! Before we can take them, we have to jump a couple of legal hurdles.
    
    Please fill out either the individual or corporate Contributor License Agreement (CLA).
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
Back to top