Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for dys (0.04 sec)

  1. tensorflow/cc/framework/gradient_checker.cc

      OutputList dys;
      dys.reserve(y_shapes.size());
      for (const auto& y_shape : y_shapes) {
        // TODO(suharshs): This currently assumes that all y's are the same type.
        dys.push_back(
            ops::Cast(scope, ops::Const(scope, 1.0, y_shape), ys[0].type()));
      }
      OutputList dxs;
      TF_RETURN_IF_ERROR(AddSymbolicGradients(scope, ys, xs, dys, &dxs));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top