Searched refs:mutex_if_ref (Results 1 – 3 of 3) sorted by relevance
511 TensorValue() : mutex_if_ref(nullptr), tensor(nullptr) {} in TensorValue()512 explicit TensorValue(Tensor* t) : mutex_if_ref(nullptr), tensor(t) {} in TensorValue()513 TensorValue(mutex* mu, Tensor* t) : mutex_if_ref(mu), tensor(t) {} in TensorValue()515 bool is_ref() const { return mutex_if_ref != nullptr; } in is_ref()532 tf_shared_lock ml(*mutex_if_ref); in dtype_safe()539 mutex* mutex_if_ref; // nullptr if not a ref, != nullptr if a ref member1619 return (*params_->inputs)[index].mutex_if_ref; in input_ref_mutex()
461 set_output_ref(output_index, (*params_->inputs)[input_index].mutex_if_ref, in forward_ref_input_to_ref_output()
873 inp->mutex_if_ref = nullptr; in PrepareInputs()897 inp->mutex_if_ref = nullptr; in PrepareInputs()912 inp->mutex_if_ref = nullptr; in PrepareInputs()930 inp->mutex_if_ref = entry->ref_tensor.mu; in PrepareInputs()944 inp->mutex_if_ref = nullptr; in PrepareInputs()1024 out->ref_tensor.mu = val.mutex_if_ref; in ProcessOutputs()