Use int32_t rather than int32 for compatibility.
PiperOrigin-RevId: 228302002
This commit is contained in:
parent
8624a703eb
commit
07c6aa1a40
@ -62,7 +62,7 @@ class BaseSparseOutputFullyConnectedOpModel : public SingleOpModel {
|
|||||||
PopulateTensor(input_, data);
|
PopulateTensor(input_, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetLookup(const std::vector<int32>& f) { PopulateTensor(lookup_, f); }
|
void SetLookup(const std::vector<int32_t>& f) { PopulateTensor(lookup_, f); }
|
||||||
|
|
||||||
void SetBias(const std::vector<float>& f) { PopulateTensor(bias_, f); }
|
void SetBias(const std::vector<float>& f) { PopulateTensor(bias_, f); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user