Lines Matching refs:FeatureID
243 char *addNewTensor(size_t FeatureID) { in addNewTensor() argument
244 const auto &Spec = LoggedFeatureSpecs[FeatureID].Spec; in addNewTensor()
246 auto *RF = FeatureLists[FeatureID] in addNewTensor()
253 auto *RF = FeatureLists[FeatureID] in addNewTensor()
463 void Logger::logFloatValue(size_t FeatureID, const float *Value) {
464 assert(FeatureSpecs[FeatureID].Spec.isElementType<float>());
465 logSpecifiedTensorValue(FeatureID, reinterpret_cast<const char *>(Value));
468 void Logger::logInt64Value(size_t FeatureID, const int64_t *Value) { in logInt64Value() argument
469 assert(FeatureSpecs[FeatureID].Spec.isElementType<int64_t>()); in logInt64Value()
470 logSpecifiedTensorValue(FeatureID, reinterpret_cast<const char *>(Value)); in logInt64Value()
473 void Logger::logInt32Value(size_t FeatureID, const int32_t *Value) { in logInt32Value() argument
474 assert(FeatureSpecs[FeatureID].Spec.isElementType<int32_t>()); in logInt32Value()
475 logSpecifiedTensorValue(FeatureID, reinterpret_cast<const char *>(Value)); in logInt32Value()
478 void Logger::logSpecifiedTensorValue(size_t FeatureID, const char *RawData) { in logSpecifiedTensorValue() argument
479 const auto &Spec = FeatureSpecs[FeatureID].Spec; in logSpecifiedTensorValue()
480 char *Buff = addEntryAndGetFloatOrInt64Buffer(FeatureID); in logSpecifiedTensorValue()
492 char *Logger::addEntryAndGetFloatOrInt64Buffer(size_t FeatureID) { in addEntryAndGetFloatOrInt64Buffer() argument
493 return reinterpret_cast<char *>(LoggerData->addNewTensor(FeatureID)); in addEntryAndGetFloatOrInt64Buffer()