Lines Matching refs:operand

182     const Operand* operand = getInputOperand(index);  in getInputShape()  local
183 return {operand->type, operand->dimensions, operand->scale, operand->zeroPoint, in getInputShape()
184 operand->extraParams}; in getInputShape()
196 const Operand* operand = getOutputOperand(index); in getOutputShape() local
197 return {operand->type, operand->dimensions, operand->scale, operand->zeroPoint, in getOutputShape()
198 operand->extraParams}; in getOutputShape()
308 bool tensorHasUnspecifiedDimensions(const Operand& operand) { in tensorHasUnspecifiedDimensions() argument
309 return tensorHasUnspecifiedDimensions(static_cast<int>(operand.type), operand.dimensions.data(), in tensorHasUnspecifiedDimensions()
310 operand.dimensions.size()); in tensorHasUnspecifiedDimensions()
2079 bool compliantWithV1_0(const V1_2::Operand& operand) { in compliantWithV1_0() argument
2080 return validOperandType(static_cast<V1_0::OperandType>(operand.type)) && in compliantWithV1_0()
2081 (nonExtensionOperandTypeIsScalar(static_cast<int>(operand.type)) || in compliantWithV1_0()
2082 operand.dimensions.size() != 0); in compliantWithV1_0()
2276 V1_2::Operand convertToV1_2(const V1_0::Operand& operand) { in convertToV1_2() argument
2277 return {.type = convertToV1_2(operand.type), in convertToV1_2()
2278 .dimensions = operand.dimensions, in convertToV1_2()
2279 .numberOfConsumers = operand.numberOfConsumers, in convertToV1_2()
2280 .scale = operand.scale, in convertToV1_2()
2281 .zeroPoint = operand.zeroPoint, in convertToV1_2()
2282 .lifetime = operand.lifetime, in convertToV1_2()
2283 .location = operand.location}; in convertToV1_2()
2286 V1_2::Operand convertToV1_2(const V1_2::Operand& operand) { in convertToV1_2() argument
2287 return operand; in convertToV1_2()
2290 V1_0::Operand convertToV1_0(const V1_2::Operand& operand) { in convertToV1_0() argument
2291 return {.type = convertToV1_0(operand.type), in convertToV1_0()
2292 .dimensions = operand.dimensions, in convertToV1_0()
2293 .numberOfConsumers = operand.numberOfConsumers, in convertToV1_0()
2294 .scale = operand.scale, in convertToV1_0()
2295 .zeroPoint = operand.zeroPoint, in convertToV1_0()
2296 .lifetime = operand.lifetime, in convertToV1_0()
2297 .location = operand.location}; in convertToV1_0()
2305 [](const V1_0::Operand& operand) { return convertToV1_2(operand); }); in convertToV1_2() argument
2316 [](const V1_2::Operand& operand) { return convertToV1_0(operand); }); in convertToV1_0() argument