Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MakeCleanup (0.2 sec)

  1. tensorflow/c/eager/tape.h

      Status s = InitialGradients(vspace, target_tensor_ids,
                                  sources_that_are_targets, output_gradients,
                                  tensor_tape_, state.op_tape, &gradients);
      auto cleanup = gtl::MakeCleanup([this, &state]() {
        if (!persistent_) {
          // Release all backprop functions
          for (const auto& pair : state.op_tape) {
            pair.second.backward_function_deleter(pair.second.backward_function);
          }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top