Lines Matching refs:Spec
244 const auto &Spec = LoggedFeatureSpecs[FeatureID].Spec; in addNewTensor() local
245 if (Spec.isElementType<float>()) { in addNewTensor()
250 RF->Resize(Spec.getElementCount(), 0.0); in addNewTensor()
252 } else if (Spec.isElementType<int32_t>() || Spec.isElementType<int64_t>()) { in addNewTensor()
257 RF->Resize(Spec.getElementCount(), 0); in addNewTensor()
464 assert(FeatureSpecs[FeatureID].Spec.isElementType<float>());
469 assert(FeatureSpecs[FeatureID].Spec.isElementType<int64_t>()); in logInt64Value()
474 assert(FeatureSpecs[FeatureID].Spec.isElementType<int32_t>()); in logInt32Value()
479 const auto &Spec = FeatureSpecs[FeatureID].Spec; in logSpecifiedTensorValue() local
481 if (Spec.isElementType<int32_t>()) in logSpecifiedTensorValue()
482 for (size_t I = 0; I < Spec.getElementCount(); ++I) in logSpecifiedTensorValue()
485 else if (Spec.isElementType<int64_t>() || Spec.isElementType<float>()) in logSpecifiedTensorValue()
487 Spec.getElementCount() * Spec.getElementByteSize()); in logSpecifiedTensorValue()