Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Dadd (0.36 sec)

  1. tensorflow/c/eager/c_api_unified_experimental_test.cc

        add_output1 = TF_OutputListGet(add_outputs, 0);
        TF_DeleteOutputList(add_outputs);
      }
    
      // Same with a second "Add" computing `arg1 + arg1`.
      TF_AbstractTensor* add_output2;
      {
        // Build an abstract operation, inputs and output.
        auto* add_op = TF_NewAbstractOp(graph_ctx);
        TF_AbstractOpSetOpType(add_op, "Add", s);
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        TF_AbstractOpSetOpName(add_op, "my_add", s);
    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)
  2. tensorflow/c/eager/c_api_experimental_test.cc

      TFE_CancellationManager* c_mgr = TFE_NewCancellationManager();
      EXPECT_FALSE(TFE_CancellationManagerIsCancelled(c_mgr));
    
      TFE_CancelCallback callback1;
      callback1.callback = [](void* context) {
        ADD_FAILURE() << "Callback1 should be deregistered.";
      };
      TFE_CancellationToken token1 = TFE_CancellationManagerGetToken(c_mgr);
      EXPECT_TRUE(TFE_CancellationManagerRegisterCallback(c_mgr, token1, &callback1,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  3. tensorflow/c/c_test_util.cc

      TF_OperationDescription* desc = TF_NewOperation(graph, "AddN", name);
      TF_Output add_inputs[2] = {{l, 0}, {r, 0}};
      TF_AddInputList(desc, add_inputs, 2);
      *op = TF_FinishOperation(desc, s);
      if (check) {
        ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
        ASSERT_NE(*op, nullptr);
      }
    }
    
    TF_Operation* Add(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                      TF_Status* s, const char* name) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  4. CONTRIBUTING.md

        bazel by doing as follows:
    
        ```bash
        export flags="--config=opt -k"
        ```
    
        If the tests are to be run on the GPU, add CUDA paths to LD_LIBRARY_PATH and
        add the `cuda` option flag
    
        ```bash
        export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/cuda/lib64:/usr/local/cuda/extras/CUPTI/lib64:$LD_LIBRARY_PATH"
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradients.cc

      void MarkAsResult(AbstractTensorHandle* gradient) const override;
    
      void DeleteGradient(AbstractTensorHandle* gradient) const override;
    
     private:
      // The context where the aggregation op `Add` is to be created.
      AbstractContext* ctx_;
    };
    
    // Returns the number of elements in the gradient tensor.
    int64_t TapeVSpace::NumElements(AbstractTensorHandle* tensor) const {
    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)
  6. tensorflow/c/eager/c_api_experimental.h

    // Monitoring Sampler APIs.
    // These APIs de-templated monitoring Sampler for swig.
    
    typedef struct TFE_MonitoringSamplerCell TFE_MonitoringSamplerCell;
    
    // Atomically add the value of the cell.
    TF_CAPI_EXPORT extern void TFE_MonitoringSamplerCellAdd(
        TFE_MonitoringSamplerCell* cell, double value);
    
    // Retrieves the current value of the cell. The return value is a HistogramProto
    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)
  7. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        cat <<EOF
    One or more test dependencies are not in the pip package.
    If these test dependencies need to be in the TensorFlow pip package, please
    add them to //tensorflow/tools/pip_package/BUILD. Otherwise, add the no_pip tag
    to the test, or change code_check_full.bats in the SIG Build repository. That's
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

                                                  TF_Status* out_status);
    
    // Sets the attribute attr_name to be a function specified by 'function'.
    //
    // TODO(ashankar,iga): Add this functionality to the C API for graph
    // construction. Perhaps we want an AttrValueMap equivalent in the C API?
    TF_CAPI_EXPORT extern void TFE_OpSetAttrFunction(TFE_Op* op,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  9. tensorflow/c/eager/c_api_test_util.cc

      rewrite_options->mutable_scoped_allocator_opts()->add_enable_op(
          "CollectiveReduce");
    
      if ((tensorflow::IsGoogleCudaEnabled() || tensorflow::IsBuiltWithROCm()) &&
          num_virtual_gpus > 0) {
        tensorflow::GPUOptions* gpu_options =
            server_def.mutable_default_session_config()->mutable_gpu_options();
        auto virtual_devices =
            gpu_options->mutable_experimental()->add_virtual_devices();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  10. tensorflow/c/experimental/gradients/math_grad.cc

      }
    
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        // TODO(vnvo2409): Add control dependency
        /* Given upstream grad U and a Log1p op: Y = log(1 + X), the gradients are:
         *
         *    dX = U / (1 + X)
         *
         */
    
        AbstractTensorHandle* upstream_grad = 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)
Back to top