Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Crooks (0.04 sec)

  1. tensorflow/c/eager/gradients.cc

      // Builds a tensor filled with ones with the same shape and dtype as `t`.
      absl::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;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

      tensorflow::unwrap(ctx)->SetThreadLocalDevicePlacementPolicy(
          static_cast<tensorflow::ContextDevicePlacementPolicy>(policy));
    }
    
    // Note: this function looks up a thread local policy. So it should be called in
    // the appropriate client thread. In particular, in async mode, it may not be
    // safe to call this function from the async EagerExecutor threads.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      void BuildExpectedGraph(bool grad_inputs_provided,
                              TF_Output* expected_grad_outputs) {
        // The expected graph looks like this if grad_inputs_provided.
        // If grad_inputs_provided is false, Const_0 will be a OnesLike op.
        //      ^             ^
        //    dy|           dx|        // MatMul Gradient Graph
        //      |             |
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top