Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for gray (0.34 sec)

  1. tensorflow/c/eager/gradient_checker.cc

        TF_Tensor* grad_tensor;
        TF_RETURN_IF_ERROR(GetValue(diff_quotient.get(), &grad_tensor));
        float grad_data[1];
        memcpy(&grad_data[0], TF_TensorData(grad_tensor),
               TF_TensorByteSize(grad_tensor));
        TF_DeleteTensor(grad_tensor);
        dtheta_approx[i] = grad_data[0];
      }
    
      // Populate *numerical_grad with the data from dtheta_approx.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/gradients/not_differentiable.h

    namespace tensorflow {
    namespace gradients {
    // Ignores `grad_outputs` and sets all entries in grad_inputs to nullptr.
    class NotDifferentiableGradientFunction : public GradientFunction {
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override;
    };
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Dec 03 22:28:48 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

      if (TF_GetCode(status) != TF_OK) return;
      if (!grad) return;
    
      status->status = g->graph.AddFunctionDef(grad->record->fdef(),
                                               grad->record->stack_traces());
      if (TF_GetCode(status) != TF_OK) return;
    
      tensorflow::GradientDef gdef;
      gdef.set_function_name(func->record->fdef().signature().name());
      gdef.set_gradient_func(grad->record->fdef().signature().name());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/eager/gradients_test.cc

    #include "tensorflow/c/eager/gradients_internal.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    #include "tensorflow/c/experimental/gradients/array_grad.h"
    #include "tensorflow/c/experimental/gradients/math_grad.h"
    #include "tensorflow/c/experimental/gradients/not_differentiable.h"
    #include "tensorflow/c/experimental/gradients/tape/tape_context.h"
    #include "tensorflow/c/experimental/ops/array_ops.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/build.sh

    cd "$(dirname "$0")"
    
    if is_continuous_or_release || [[ -z "$KOKORO_BUILD_ID" ]]; then
      # A continuous job is the only one to publish to latest
      TAG="latest-multi-python"
    else
      # If it is a change, grab a good tag for iterative builds
      if [[ -z "${KOKORO_GITHUB_PULL_REQUEST_NUMBER}" ]]; then
        TAG=$(head -n 1 "$KOKORO_PIPER_DIR/presubmit_request.txt" | cut -d" " -f2)
      else
        TAG="pr-${KOKORO_GITHUB_PULL_REQUEST_NUMBER}"
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Nov 03 13:38:49 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    // Adds a copy of function `func` and optionally its gradient function `grad`
    // to `g`. Once `func`/`grad` is added to `g`, it can be called by creating
    // an operation using the function's name.
    // Any changes to `func`/`grad` (including deleting it) done after this method
    // returns, won't affect the copy of `func`/`grad` in `g`.
    // If `func` or `grad` are already in `g`, TF_GraphCopyFunction has no
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top