MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CreateCastOptions

Function CreateCastOptions

tensorflow/lite/schema/schema_generated.h:5805–5813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5803};
5804
5805inline flatbuffers::Offset<CastOptions> CreateCastOptions(
5806 flatbuffers::FlatBufferBuilder &_fbb,
5807 TensorType in_data_type = TensorType_FLOAT32,
5808 TensorType out_data_type = TensorType_FLOAT32) {
5809 CastOptionsBuilder builder_(_fbb);
5810 builder_.add_out_data_type(out_data_type);
5811 builder_.add_in_data_type(in_data_type);
5812 return builder_.Finish();
5813}
5814
5815flatbuffers::Offset<CastOptions> CreateCastOptions(flatbuffers::FlatBufferBuilder &_fbb, const CastOptionsT *_o, const flatbuffers::rehasher_function_t *_rehasher = nullptr);
5816

Callers 3

CastOpModelMethod · 0.85
PackMethod · 0.85
WriteOptionsMethod · 0.85

Calls 3

add_out_data_typeMethod · 0.80
add_in_data_typeMethod · 0.80
FinishMethod · 0.45

Tested by 1

CastOpModelMethod · 0.68