Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for Reset (0.23 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

    using tensorflow::string;
    
    void TFE_OpReset(TFE_Op* op_to_reset, const char* op_or_function_name,
                     const char* raw_device_name, TF_Status* status) {
      if (op_to_reset) {
        tensorflow::ImmediateExecutionOperation* op =
            tensorflow::unwrap(op_to_reset);
        op->Clear();
        status->status = op->Reset(op_or_function_name, raw_device_name);
      } else {
        TF_SetStatus(status, TF_INVALID_ARGUMENT,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  2. tensorflow/c/experimental/gradients/tape/tape_operation.cc

      // TODO(b/172003047): Consider making AbstractOperation RefCounted.
      // parent_op->Unref();
    }
    Status TapeOperation::Reset(const char* op, const char* raw_device_name) {
      forward_op_.op_name = op;
      forward_op_.attrs.Reset(op);
      forward_op_.inputs.clear();
      forward_op_.outputs.clear();
      return parent_op_->Reset(op, raw_device_name);
    }
    const string& TapeOperation::Name() const { return parent_op_->Name(); }
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api.cc

            "Invalid tensorflow.ServerDef protocol buffer");
        return;
      }
      status->status =
          tensorflow::unwrap(ctx)->GetDistributedManager()->SetOrUpdateServerDef(
              server_def, /*reset_context=*/true, keep_alive_secs,
              init_timeout_in_ms, retries, clear_existing_contexts);
    #endif  // !IS_MOBILE_PLATFORM
    }
    
    TF_CAPI_EXPORT extern void TFE_ContextUpdateServerDef(TFE_Context* ctx,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. tensorflow/c/c_api_test.cc

    }
    
    void StringVectorToArrays(const std::vector<string>& v,
                              std::unique_ptr<const void*[]>* ptrs,
                              std::unique_ptr<size_t[]>* lens) {
      ptrs->reset(new const void*[v.size()]);
      lens->reset(new size_t[v.size()]);
      for (size_t i = 0; i < v.size(); ++i) {
        (*ptrs)[i] = v[i].data();
        (*lens)[i] = v[i].size();
      }
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top