Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for overline (0.17 sec)

  1. tensorflow/c/experimental/gradients/nn_grad_test.cc

                          "BiasAdd");
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        status_ = StatusFromTF_Status(status.get());
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

        (*lens)[i] = v[i].size();
      }
    }
    
    class CApiColocationTest : public ::testing::Test {
     protected:
      CApiColocationTest() : s_(TF_NewStatus()), graph_(TF_NewGraph()) {}
    
      void SetUp() override {
        feed1_ = Placeholder(graph_, s_, "feed1");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        feed2_ = Placeholder(graph_, s_, "feed2");
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

    // - a boolean that when true enables TFRT as the execution engine.
    class UnifiedCAPI
        : public ::testing::TestWithParam<std::tuple<const char*, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        Status s = StatusFromTF_Status(status.get());
        CHECK_EQ(errors::OK, s.code()) << s.message();
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

    class TestUnavailableErrorOp : public tensorflow::OpKernel {
     public:
      explicit TestUnavailableErrorOp(tensorflow::OpKernelConstruction* ctx)
          : tensorflow::OpKernel(ctx) {}
      void Compute(tensorflow::OpKernelContext* ctx) override {
        ctx->SetStatus(tensorflow::errors::Unavailable("Test error."));
      }
    };
    REGISTER_KERNEL_BUILDER(
        Name("TestNonCommUnavailable").Device(tensorflow::DEVICE_DEFAULT),
        TestUnavailableErrorOp);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/gradients/nn_grad.cc

            output->Ref();
          }
        }
      }
    
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        AbstractTensorHandle* upstream_grad = grad_outputs[0];
        AbstractTensorHandle* activations = forward_outputs_[0];
    
        // Calculate Grad
        std::string name = "relu_grad";
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/graph_function.h

     public:
      explicit GraphFunction(FunctionDef fdef);
      ~GraphFunction() override;
    
      // GraphFunction maybe stay alive for the duration of the returned
      // FunctionDef.
      Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          override {
        return func_record_.GetNewRef();
      }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.cc

      // Builds a tensor filled with ones with the same shape and dtype as `t`.
      Status BuildOnesLike(const TapeTensor& t,
                           AbstractTensorHandle** result) const override;
    
      // Looks up the ID of a Gradient.
      int64_t TensorId(AbstractTensorHandle* tensor) const override;
    
      // Converts a Gradient to a TapeTensor.
      TapeTensor TapeTensorFromGradient(AbstractTensorHandle* g) const override;
    
    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)
  8. tensorflow/c/experimental/gradients/array_grad_test.cc

      outputs[0] = temp_outputs[1];
      temp_outputs[0]->Unref();
      return absl::OkStatus();
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        status_ = StatusFromTF_Status(status.get());
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    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_experimental.h

    TF_CAPI_EXPORT extern void TFE_ExecutorClearError(TFE_Executor*);
    
    // Sets a custom Executor for the current thread. All nodes created by this
    // thread will be added to this Executor. It will override the current executor.
    TF_CAPI_EXPORT extern void TFE_ContextSetExecutorForThread(TFE_Context*,
                                                               TFE_Executor*);
    
    // Returns the Executor for the current thread.
    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)
  10. tensorflow/c/experimental/filesystem/modular_filesystem.h

          : filename_(filename), file_(std::move(file)), ops_(ops) {}
    
      ~ModularWritableFile() override { ops_->cleanup(file_.get()); }
    
      Status Append(StringPiece data) override;
      Status Close() override;
      Status Flush() override;
      Status Sync() override;
      Status Name(StringPiece* result) const override;
      Status Tell(int64_t* position) override;
    
     private:
      std::string filename_;
      std::unique_ptr<TF_WritableFile> file_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
Back to top