Lines Matching refs:fvec
185 def AddFvec(builder, fvec): builder.PrependUOffsetTRelativeSlot(9, flatbuffers.number_types.UOffset… argument
186 def MonsterExtraAddFvec(builder, fvec): argument
188 return AddFvec(builder, fvec)
215 self.fvec = None # type: List[float]
250 self.fvec = []
252 self.fvec.append(monsterExtra.Fvec(i))
254 self.fvec = monsterExtra.FvecAsNumpy()
266 if self.fvec is not None:
267 if np is not None and type(self.fvec) is np.ndarray:
268 fvec = builder.CreateNumpyVector(self.fvec)
270 StartFvecVector(builder, len(self.fvec))
271 for i in reversed(range(len(self.fvec))):
272 builder.PrependFloat32(self.fvec[i])
273 fvec = builder.EndVector()
285 if self.fvec is not None:
286 AddFvec(builder, fvec)