Lines Matching refs:FeatureID

297   char *addNewTensor(size_t FeatureID) {  in addNewTensor()  argument
298 const auto &Spec = LoggedFeatureSpecs[FeatureID].Spec; in addNewTensor()
300 auto *RF = FeatureLists[FeatureID] in addNewTensor()
307 auto *RF = FeatureLists[FeatureID] in addNewTensor()
508 void Logger::logFloatValue(size_t FeatureID, const float *Value) {
509 assert(FeatureSpecs[FeatureID].Spec.isElementType<float>());
510 logSpecifiedTensorValue(FeatureID, reinterpret_cast<const char *>(Value));
513 void Logger::logInt64Value(size_t FeatureID, const int64_t *Value) { in logInt64Value() argument
514 assert(FeatureSpecs[FeatureID].Spec.isElementType<int64_t>()); in logInt64Value()
515 logSpecifiedTensorValue(FeatureID, reinterpret_cast<const char *>(Value)); in logInt64Value()
518 void Logger::logInt32Value(size_t FeatureID, const int32_t *Value) { in logInt32Value() argument
519 assert(FeatureSpecs[FeatureID].Spec.isElementType<int32_t>()); in logInt32Value()
520 logSpecifiedTensorValue(FeatureID, reinterpret_cast<const char *>(Value)); in logInt32Value()
523 void Logger::logSpecifiedTensorValue(size_t FeatureID, const char *RawData) { in logSpecifiedTensorValue() argument
524 const auto &Spec = FeatureSpecs[FeatureID].Spec; in logSpecifiedTensorValue()
525 char *Buff = addEntryAndGetFloatOrInt64Buffer(FeatureID); in logSpecifiedTensorValue()
537 char *Logger::addEntryAndGetFloatOrInt64Buffer(size_t FeatureID) { in addEntryAndGetFloatOrInt64Buffer() argument
538 return reinterpret_cast<char *>(LoggerData->addNewTensor(FeatureID)); in addEntryAndGetFloatOrInt64Buffer()