4 #ifndef FLATBUFFERS_GENERATED_PROGRAM_TT_TARGET_TTNN_H_
5 #define FLATBUFFERS_GENERATED_PROGRAM_TT_TARGET_TTNN_H_
7 #include "flatbuffers/flatbuffers.h"
11 static_assert(FLATBUFFERS_VERSION_MAJOR == 24 &&
12 FLATBUFFERS_VERSION_MINOR == 3 &&
13 FLATBUFFERS_VERSION_REVISION == 25,
14 "Non-compatible flatbuffers version included");
24 struct GetDeviceOpBuilder;
27 struct ToMemoryConfigOpBuilder;
30 struct ToLayoutOpBuilder;
33 struct TypecastOpBuilder;
36 struct ToDeviceOpBuilder;
39 struct FromDeviceOpBuilder;
42 struct EmptyOpBuilder;
48 struct ArangeOpBuilder;
51 struct ClampOpParamsBuilder;
54 struct EltwiseOpWithFloatParamsBuilder;
57 struct EltwiseOpBuilder;
60 struct ReductionOpBuilder;
63 struct EmbeddingOpBuilder;
66 struct SoftmaxOpBuilder;
69 struct TransposeOpBuilder;
72 struct ConcatOpBuilder;
75 struct ReshapeOpBuilder;
78 struct SliceOpBuilder;
81 struct LinearOpBuilder;
84 struct MatmulOpBuilder;
87 struct Conv2dOpBuilder;
90 struct MaxPool2dOpBuilder;
93 struct DeallocateOpBuilder;
96 struct AllGatherOpBuilder;
99 struct OperationBuilder;
102 struct ProgramBuilder;
196 static const char *
const names[41] = {
244 const size_t index =
static_cast<size_t>(e);
266 static const char *
const names[4] = {
269 "EltwiseOpWithFloatParams",
277 const size_t index =
static_cast<size_t>(e);
294 bool VerifyEltwiseOpParamsVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<EltwiseOpParams> *types);
314 static const char *
const names[4] = {
325 const size_t index =
static_cast<size_t>(e);
359 static const OpType values[] = {
389 static const char *
const names[25] = {
421 const size_t index =
static_cast<size_t>(e);
522 bool VerifyOpTypeVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<OpType> *types);
527 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
532 const tt::target::Dim2d *
mesh()
const {
533 return GetStruct<const tt::target::Dim2d *>(
VT_MESH);
535 const ::flatbuffers::Vector<uint32_t> *
chip_ids()
const {
536 return GetPointer<const ::flatbuffers::Vector<uint32_t> *>(
VT_CHIP_IDS);
538 const tt::target::DeviceRef *
out()
const {
539 return GetPointer<const tt::target::DeviceRef *>(
VT_OUT);
541 bool Verify(::flatbuffers::Verifier &verifier)
const {
542 return VerifyTableStart(verifier) &&
543 VerifyField<tt::target::Dim2d>(verifier,
VT_MESH, 4) &&
545 verifier.VerifyVector(chip_ids()) &&
546 VerifyOffset(verifier,
VT_OUT) &&
547 verifier.VerifyTable(out()) &&
554 ::flatbuffers::FlatBufferBuilder &
fbb_;
559 void add_chip_ids(::flatbuffers::Offset<::flatbuffers::Vector<uint32_t>> chip_ids) {
562 void add_out(::flatbuffers::Offset<tt::target::DeviceRef> out) {
569 ::flatbuffers::Offset<GetDeviceOp>
Finish() {
571 auto o = ::flatbuffers::Offset<GetDeviceOp>(end);
577 ::flatbuffers::FlatBufferBuilder &_fbb,
578 const tt::target::Dim2d *mesh =
nullptr,
579 ::flatbuffers::Offset<::flatbuffers::Vector<uint32_t>> chip_ids = 0,
580 ::flatbuffers::Offset<tt::target::DeviceRef> out = 0) {
594 ::flatbuffers::FlatBufferBuilder &_fbb,
595 const tt::target::Dim2d *mesh =
nullptr,
596 const std::vector<uint32_t> *chip_ids =
nullptr,
597 ::flatbuffers::Offset<tt::target::DeviceRef> out = 0) {
598 auto chip_ids__ = chip_ids ? _fbb.CreateVector<uint32_t>(*chip_ids) : 0;
609 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
614 const tt::target::TensorRef *
in0()
const {
615 return GetPointer<const tt::target::TensorRef *>(
VT_IN0);
617 const tt::target::MemoryConfigDesc *
memcfg()
const {
618 return GetPointer<const tt::target::MemoryConfigDesc *>(
VT_MEMCFG);
620 const tt::target::TensorRef *
out()
const {
621 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
623 bool Verify(::flatbuffers::Verifier &verifier)
const {
624 return VerifyTableStart(verifier) &&
625 VerifyOffset(verifier,
VT_IN0) &&
626 verifier.VerifyTable(in0()) &&
628 verifier.VerifyTable(memcfg()) &&
629 VerifyOffset(verifier,
VT_OUT) &&
630 verifier.VerifyTable(out()) &&
637 ::flatbuffers::FlatBufferBuilder &
fbb_;
639 void add_in0(::flatbuffers::Offset<tt::target::TensorRef> in0) {
642 void add_memcfg(::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg) {
645 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
652 ::flatbuffers::Offset<ToMemoryConfigOp>
Finish() {
654 auto o = ::flatbuffers::Offset<ToMemoryConfigOp>(end);
660 ::flatbuffers::FlatBufferBuilder &_fbb,
661 ::flatbuffers::Offset<tt::target::TensorRef> in0 = 0,
662 ::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg = 0,
663 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
679 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
687 const tt::target::TensorRef *
in()
const {
688 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
693 ::flatbuffers::Optional<tt::target::DataType>
dtype()
const {
694 return GetOptional<uint16_t, tt::target::DataType>(
VT_DTYPE);
696 const tt::target::MemoryConfigDesc *
memcfg()
const {
697 return GetPointer<const tt::target::MemoryConfigDesc *>(
VT_MEMCFG);
699 const tt::target::DeviceRef *
device()
const {
700 return GetPointer<const tt::target::DeviceRef *>(
VT_DEVICE);
702 const tt::target::TensorRef *
out()
const {
703 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
705 bool Verify(::flatbuffers::Verifier &verifier)
const {
706 return VerifyTableStart(verifier) &&
707 VerifyOffset(verifier,
VT_IN) &&
708 verifier.VerifyTable(in()) &&
709 VerifyField<uint16_t>(verifier,
VT_LAYOUT, 2) &&
710 VerifyField<uint16_t>(verifier,
VT_DTYPE, 2) &&
712 verifier.VerifyTable(memcfg()) &&
714 verifier.VerifyTable(device()) &&
715 VerifyOffset(verifier,
VT_OUT) &&
716 verifier.VerifyTable(out()) &&
723 ::flatbuffers::FlatBufferBuilder &
fbb_;
725 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
734 void add_memcfg(::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg) {
737 void add_device(::flatbuffers::Offset<tt::target::DeviceRef> device) {
740 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
747 ::flatbuffers::Offset<ToLayoutOp>
Finish() {
749 auto o = ::flatbuffers::Offset<ToLayoutOp>(end);
755 ::flatbuffers::FlatBufferBuilder &_fbb,
756 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
758 ::flatbuffers::Optional<tt::target::DataType> dtype = ::flatbuffers::nullopt,
759 ::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg = 0,
760 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
761 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
767 if(dtype) { builder_.
add_dtype(*dtype); }
780 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
785 const tt::target::TensorRef *
in()
const {
786 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
791 const tt::target::TensorRef *
out()
const {
792 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
794 bool Verify(::flatbuffers::Verifier &verifier)
const {
795 return VerifyTableStart(verifier) &&
796 VerifyOffset(verifier,
VT_IN) &&
797 verifier.VerifyTable(in()) &&
798 VerifyField<uint16_t>(verifier,
VT_DTYPE, 2) &&
799 VerifyOffset(verifier,
VT_OUT) &&
800 verifier.VerifyTable(out()) &&
807 ::flatbuffers::FlatBufferBuilder &
fbb_;
809 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
815 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
822 ::flatbuffers::Offset<TypecastOp>
Finish() {
824 auto o = ::flatbuffers::Offset<TypecastOp>(end);
830 ::flatbuffers::FlatBufferBuilder &_fbb,
831 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
833 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
849 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
855 const tt::target::TensorRef *
in()
const {
856 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
858 const tt::target::DeviceRef *
device()
const {
859 return GetPointer<const tt::target::DeviceRef *>(
VT_DEVICE);
861 const tt::target::MemoryConfigDesc *
memcfg()
const {
862 return GetPointer<const tt::target::MemoryConfigDesc *>(
VT_MEMCFG);
864 const tt::target::TensorRef *
out()
const {
865 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
867 bool Verify(::flatbuffers::Verifier &verifier)
const {
868 return VerifyTableStart(verifier) &&
869 VerifyOffset(verifier,
VT_IN) &&
870 verifier.VerifyTable(in()) &&
872 verifier.VerifyTable(device()) &&
874 verifier.VerifyTable(memcfg()) &&
875 VerifyOffset(verifier,
VT_OUT) &&
876 verifier.VerifyTable(out()) &&
883 ::flatbuffers::FlatBufferBuilder &
fbb_;
885 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
888 void add_device(::flatbuffers::Offset<tt::target::DeviceRef> device) {
891 void add_memcfg(::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg) {
894 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
901 ::flatbuffers::Offset<ToDeviceOp>
Finish() {
903 auto o = ::flatbuffers::Offset<ToDeviceOp>(end);
909 ::flatbuffers::FlatBufferBuilder &_fbb,
910 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
911 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
912 ::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg = 0,
913 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
930 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
934 const tt::target::TensorRef *
in()
const {
935 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
937 const tt::target::TensorRef *
out()
const {
938 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
940 bool Verify(::flatbuffers::Verifier &verifier)
const {
941 return VerifyTableStart(verifier) &&
942 VerifyOffset(verifier,
VT_IN) &&
943 verifier.VerifyTable(in()) &&
944 VerifyOffset(verifier,
VT_OUT) &&
945 verifier.VerifyTable(out()) &&
952 ::flatbuffers::FlatBufferBuilder &
fbb_;
954 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
957 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
964 ::flatbuffers::Offset<FromDeviceOp>
Finish() {
966 auto o = ::flatbuffers::Offset<FromDeviceOp>(end);
972 ::flatbuffers::FlatBufferBuilder &_fbb,
973 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
974 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
989 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
999 const ::flatbuffers::Vector<int64_t> *
shape()
const {
1000 return GetPointer<const ::flatbuffers::Vector<int64_t> *>(
VT_SHAPE);
1011 const tt::target::DeviceRef *
device()
const {
1012 return GetPointer<const tt::target::DeviceRef *>(
VT_DEVICE);
1014 const tt::target::MemoryConfigDesc *
memcfg()
const {
1015 return GetPointer<const tt::target::MemoryConfigDesc *>(
VT_MEMCFG);
1017 const tt::target::DistributionStrategy *
strategy()
const {
1018 return GetPointer<const tt::target::DistributionStrategy *>(
VT_STRATEGY);
1020 const tt::target::TensorRef *
out()
const {
1021 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1023 bool Verify(::flatbuffers::Verifier &verifier)
const {
1024 return VerifyTableStart(verifier) &&
1025 VerifyOffset(verifier,
VT_SHAPE) &&
1026 verifier.VerifyVector(shape()) &&
1027 VerifyField<uint16_t>(verifier,
VT_DTYPE, 2) &&
1028 VerifyField<uint16_t>(verifier,
VT_LAYOUT, 2) &&
1031 verifier.VerifyTable(device()) &&
1033 verifier.VerifyTable(memcfg()) &&
1035 verifier.VerifyTable(strategy()) &&
1036 VerifyOffset(verifier,
VT_OUT) &&
1037 verifier.VerifyTable(out()) &&
1038 verifier.EndTable();
1044 ::flatbuffers::FlatBufferBuilder &
fbb_;
1046 void add_shape(::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> shape) {
1058 void add_device(::flatbuffers::Offset<tt::target::DeviceRef> device) {
1061 void add_memcfg(::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg) {
1064 void add_strategy(::flatbuffers::Offset<tt::target::DistributionStrategy> strategy) {
1067 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1076 auto o = ::flatbuffers::Offset<EmptyOp>(end);
1082 ::flatbuffers::FlatBufferBuilder &_fbb,
1083 ::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> shape = 0,
1086 uint32_t num_shards = 0,
1087 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
1088 ::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg = 0,
1089 ::flatbuffers::Offset<tt::target::DistributionStrategy> strategy = 0,
1090 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
1100 return builder_.
Finish();
1109 ::flatbuffers::FlatBufferBuilder &_fbb,
1110 const std::vector<int64_t> *shape =
nullptr,
1113 uint32_t num_shards = 0,
1114 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
1115 ::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg = 0,
1116 ::flatbuffers::Offset<tt::target::DistributionStrategy> strategy = 0,
1117 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
1118 auto shape__ = shape ? _fbb.CreateVector<int64_t>(*shape) : 0;
1134 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1141 const tt::target::DeviceRef *
device()
const {
1142 return GetPointer<const tt::target::DeviceRef *>(
VT_DEVICE);
1150 const tt::target::DistributionStrategy *
strategy()
const {
1151 return GetPointer<const tt::target::DistributionStrategy *>(
VT_STRATEGY);
1153 const tt::target::TensorRef *
out()
const {
1154 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1156 bool Verify(::flatbuffers::Verifier &verifier)
const {
1157 return VerifyTableStart(verifier) &&
1159 verifier.VerifyTable(device()) &&
1163 verifier.VerifyTable(strategy()) &&
1164 VerifyOffset(verifier,
VT_OUT) &&
1165 verifier.VerifyTable(out()) &&
1166 verifier.EndTable();
1172 ::flatbuffers::FlatBufferBuilder &
fbb_;
1174 void add_device(::flatbuffers::Offset<tt::target::DeviceRef> device) {
1183 void add_strategy(::flatbuffers::Offset<tt::target::DistributionStrategy> strategy) {
1186 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1195 auto o = ::flatbuffers::Offset<FullOp>(end);
1201 ::flatbuffers::FlatBufferBuilder &_fbb,
1202 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
1203 float fill_value = 0.0f,
1204 uint32_t num_shards = 0,
1205 ::flatbuffers::Offset<tt::target::DistributionStrategy> strategy = 0,
1206 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
1213 return builder_.
Finish();
1224 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1234 return GetField<float>(
VT_START, 0.0f);
1237 return GetField<float>(
VT_END, 0.0f);
1240 return GetField<float>(
VT_STEP, 0.0f);
1242 ::flatbuffers::Optional<tt::target::DataType>
dtype()
const {
1243 return GetOptional<uint16_t, tt::target::DataType>(
VT_DTYPE);
1245 const tt::target::DeviceRef *
device()
const {
1246 return GetPointer<const tt::target::DeviceRef *>(
VT_DEVICE);
1248 const tt::target::MemoryConfigDesc *
memcfg()
const {
1249 return GetPointer<const tt::target::MemoryConfigDesc *>(
VT_MEMCFG);
1251 const tt::target::TensorRef *
out()
const {
1252 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1254 bool Verify(::flatbuffers::Verifier &verifier)
const {
1255 return VerifyTableStart(verifier) &&
1256 VerifyField<float>(verifier,
VT_START, 4) &&
1257 VerifyField<float>(verifier,
VT_END, 4) &&
1258 VerifyField<float>(verifier,
VT_STEP, 4) &&
1259 VerifyField<uint16_t>(verifier,
VT_DTYPE, 2) &&
1261 verifier.VerifyTable(device()) &&
1263 verifier.VerifyTable(memcfg()) &&
1264 VerifyOffset(verifier,
VT_OUT) &&
1265 verifier.VerifyTable(out()) &&
1266 verifier.EndTable();
1272 ::flatbuffers::FlatBufferBuilder &
fbb_;
1286 void add_device(::flatbuffers::Offset<tt::target::DeviceRef> device) {
1289 void add_memcfg(::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg) {
1292 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1301 auto o = ::flatbuffers::Offset<ArangeOp>(end);
1307 ::flatbuffers::FlatBufferBuilder &_fbb,
1311 ::flatbuffers::Optional<tt::target::DataType> dtype = ::flatbuffers::nullopt,
1312 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
1313 ::flatbuffers::Offset<tt::target::MemoryConfigDesc> memcfg = 0,
1314 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
1322 if(dtype) { builder_.
add_dtype(*dtype); }
1323 return builder_.
Finish();
1334 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1339 return GetField<float>(
VT_MIN, 0.0f);
1342 return GetField<float>(VT_MAX, 0.0f);
1344 bool Verify(::flatbuffers::Verifier &verifier)
const {
1345 return VerifyTableStart(verifier) &&
1346 VerifyField<float>(verifier,
VT_MIN, 4) &&
1347 VerifyField<float>(verifier, VT_MAX, 4) &&
1348 verifier.EndTable();
1354 ::flatbuffers::FlatBufferBuilder &
fbb_;
1360 fbb_.AddElement<
float>(ClampOpParams::VT_MAX, max, 0.0f);
1366 ::flatbuffers::Offset<ClampOpParams>
Finish() {
1368 auto o = ::flatbuffers::Offset<ClampOpParams>(end);
1374 ::flatbuffers::FlatBufferBuilder &_fbb,
1380 return builder_.
Finish();
1391 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1395 return GetField<float>(VT_PARAMETER, 0.0f);
1397 bool Verify(::flatbuffers::Verifier &verifier)
const {
1398 return VerifyTableStart(verifier) &&
1399 VerifyField<float>(verifier, VT_PARAMETER, 4) &&
1400 verifier.EndTable();
1406 ::flatbuffers::FlatBufferBuilder &
fbb_;
1409 fbb_.AddElement<
float>(EltwiseOpWithFloatParams::VT_PARAMETER, parameter, 0.0f);
1415 ::flatbuffers::Offset<EltwiseOpWithFloatParams>
Finish() {
1417 auto o = ::flatbuffers::Offset<EltwiseOpWithFloatParams>(end);
1423 ::flatbuffers::FlatBufferBuilder &_fbb,
1424 float parameter = 0.0f) {
1427 return builder_.
Finish();
1438 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1448 const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *
ins()
const {
1449 return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *>(
VT_INS);
1451 const tt::target::TensorRef *
out()
const {
1452 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1458 return GetPointer<const void *>(VT_PARAMS);
1467 bool Verify(::flatbuffers::Verifier &verifier)
const {
1468 return VerifyTableStart(verifier) &&
1469 VerifyField<uint32_t>(verifier,
VT_TYPE, 4) &&
1470 VerifyOffset(verifier,
VT_INS) &&
1471 verifier.VerifyVector(ins()) &&
1472 verifier.VerifyVectorOfTables(ins()) &&
1473 VerifyOffset(verifier,
VT_OUT) &&
1474 verifier.VerifyTable(out()) &&
1476 VerifyOffset(verifier, VT_PARAMS) &&
1478 verifier.EndTable();
1482 template<>
inline const tt::target::ttnn::ClampOpParams *EltwiseOp::params_as<tt::target::ttnn::ClampOpParams>()
const {
1483 return params_as_ClampOpParams();
1486 template<>
inline const tt::target::ttnn::EltwiseOpWithFloatParams *EltwiseOp::params_as<tt::target::ttnn::EltwiseOpWithFloatParams>()
const {
1487 return params_as_EltwiseOpWithFloatParams();
1492 ::flatbuffers::FlatBufferBuilder &
fbb_;
1497 void add_ins(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> ins) {
1500 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1507 fbb_.AddOffset(EltwiseOp::VT_PARAMS, params);
1515 auto o = ::flatbuffers::Offset<EltwiseOp>(end);
1521 ::flatbuffers::FlatBufferBuilder &_fbb,
1523 ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> ins = 0,
1524 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1526 ::flatbuffers::Offset<void> params = 0) {
1533 return builder_.
Finish();
1542 ::flatbuffers::FlatBufferBuilder &_fbb,
1544 const std::vector<::flatbuffers::Offset<tt::target::TensorRef>> *ins =
nullptr,
1545 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1547 ::flatbuffers::Offset<void> params = 0) {
1548 auto ins__ = ins ? _fbb.CreateVector<::flatbuffers::Offset<tt::target::TensorRef>>(*ins) : 0;
1561 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1571 const tt::target::TensorRef *
in()
const {
1572 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
1574 const tt::target::TensorRef *
out()
const {
1575 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1577 const ::flatbuffers::Vector<int32_t> *
dim_arg()
const {
1578 return GetPointer<const ::flatbuffers::Vector<int32_t> *>(
VT_DIM_ARG);
1581 return GetField<uint8_t>(VT_KEEP_DIM, 0) != 0;
1583 bool Verify(::flatbuffers::Verifier &verifier)
const {
1584 return VerifyTableStart(verifier) &&
1585 VerifyField<uint32_t>(verifier,
VT_TYPE, 4) &&
1586 VerifyOffset(verifier,
VT_IN) &&
1587 verifier.VerifyTable(in()) &&
1588 VerifyOffset(verifier,
VT_OUT) &&
1589 verifier.VerifyTable(out()) &&
1591 verifier.VerifyVector(dim_arg()) &&
1592 VerifyField<uint8_t>(verifier, VT_KEEP_DIM, 1) &&
1593 verifier.EndTable();
1599 ::flatbuffers::FlatBufferBuilder &
fbb_;
1604 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
1607 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1610 void add_dim_arg(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> dim_arg) {
1614 fbb_.AddElement<uint8_t>(ReductionOp::VT_KEEP_DIM,
static_cast<uint8_t
>(keep_dim), 0);
1620 ::flatbuffers::Offset<ReductionOp>
Finish() {
1622 auto o = ::flatbuffers::Offset<ReductionOp>(end);
1628 ::flatbuffers::FlatBufferBuilder &_fbb,
1630 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
1631 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1632 ::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> dim_arg = 0,
1633 bool keep_dim =
false) {
1640 return builder_.
Finish();
1649 ::flatbuffers::FlatBufferBuilder &_fbb,
1651 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
1652 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1653 const std::vector<int32_t> *dim_arg =
nullptr,
1654 bool keep_dim =
false) {
1655 auto dim_arg__ = dim_arg ? _fbb.CreateVector<int32_t>(*dim_arg) : 0;
1668 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1673 const tt::target::TensorRef *
input()
const {
1674 return GetPointer<const tt::target::TensorRef *>(
VT_INPUT);
1676 const tt::target::TensorRef *
weight()
const {
1677 return GetPointer<const tt::target::TensorRef *>(
VT_WEIGHT);
1679 const tt::target::TensorRef *
out()
const {
1680 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1682 bool Verify(::flatbuffers::Verifier &verifier)
const {
1683 return VerifyTableStart(verifier) &&
1684 VerifyOffset(verifier,
VT_INPUT) &&
1685 verifier.VerifyTable(input()) &&
1687 verifier.VerifyTable(weight()) &&
1688 VerifyOffset(verifier,
VT_OUT) &&
1689 verifier.VerifyTable(out()) &&
1690 verifier.EndTable();
1696 ::flatbuffers::FlatBufferBuilder &
fbb_;
1698 void add_input(::flatbuffers::Offset<tt::target::TensorRef> input) {
1701 void add_weight(::flatbuffers::Offset<tt::target::TensorRef> weight) {
1704 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1711 ::flatbuffers::Offset<EmbeddingOp>
Finish() {
1713 auto o = ::flatbuffers::Offset<EmbeddingOp>(end);
1719 ::flatbuffers::FlatBufferBuilder &_fbb,
1720 ::flatbuffers::Offset<tt::target::TensorRef> input = 0,
1721 ::flatbuffers::Offset<tt::target::TensorRef> weight = 0,
1722 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
1727 return builder_.
Finish();
1738 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1743 const tt::target::TensorRef *
in()
const {
1744 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
1746 const tt::target::TensorRef *
out()
const {
1747 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1750 return GetField<int32_t>(VT_DIMENSION, 0);
1752 bool Verify(::flatbuffers::Verifier &verifier)
const {
1753 return VerifyTableStart(verifier) &&
1754 VerifyOffset(verifier,
VT_IN) &&
1755 verifier.VerifyTable(in()) &&
1756 VerifyOffset(verifier,
VT_OUT) &&
1757 verifier.VerifyTable(out()) &&
1758 VerifyField<int32_t>(verifier, VT_DIMENSION, 4) &&
1759 verifier.EndTable();
1765 ::flatbuffers::FlatBufferBuilder &
fbb_;
1767 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
1770 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1774 fbb_.AddElement<int32_t>(SoftmaxOp::VT_DIMENSION, dimension, 0);
1782 auto o = ::flatbuffers::Offset<SoftmaxOp>(end);
1788 ::flatbuffers::FlatBufferBuilder &_fbb,
1789 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
1790 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1791 int32_t dimension = 0) {
1796 return builder_.
Finish();
1807 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1813 const tt::target::TensorRef *
in()
const {
1814 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
1816 const tt::target::TensorRef *
out()
const {
1817 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1820 return GetField<int32_t>(
VT_DIM0, 0);
1823 return GetField<int32_t>(VT_DIM1, 0);
1825 bool Verify(::flatbuffers::Verifier &verifier)
const {
1826 return VerifyTableStart(verifier) &&
1827 VerifyOffset(verifier,
VT_IN) &&
1828 verifier.VerifyTable(in()) &&
1829 VerifyOffset(verifier,
VT_OUT) &&
1830 verifier.VerifyTable(out()) &&
1831 VerifyField<int32_t>(verifier,
VT_DIM0, 4) &&
1832 VerifyField<int32_t>(verifier, VT_DIM1, 4) &&
1833 verifier.EndTable();
1839 ::flatbuffers::FlatBufferBuilder &
fbb_;
1841 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
1844 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1851 fbb_.AddElement<int32_t>(TransposeOp::VT_DIM1, dim1, 0);
1857 ::flatbuffers::Offset<TransposeOp>
Finish() {
1859 auto o = ::flatbuffers::Offset<TransposeOp>(end);
1865 ::flatbuffers::FlatBufferBuilder &_fbb,
1866 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
1867 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1875 return builder_.
Finish();
1886 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1891 const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *
inputs()
const {
1892 return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *>(
VT_INPUTS);
1894 const tt::target::TensorRef *
out()
const {
1895 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1898 return GetField<int32_t>(
VT_DIM, 0);
1900 bool Verify(::flatbuffers::Verifier &verifier)
const {
1901 return VerifyTableStart(verifier) &&
1903 verifier.VerifyVector(inputs()) &&
1904 verifier.VerifyVectorOfTables(inputs()) &&
1905 VerifyOffset(verifier,
VT_OUT) &&
1906 verifier.VerifyTable(out()) &&
1907 VerifyField<int32_t>(verifier,
VT_DIM, 4) &&
1908 verifier.EndTable();
1914 ::flatbuffers::FlatBufferBuilder &
fbb_;
1916 void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> inputs) {
1919 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
1931 auto o = ::flatbuffers::Offset<ConcatOp>(end);
1937 ::flatbuffers::FlatBufferBuilder &_fbb,
1938 ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> inputs = 0,
1939 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1945 return builder_.
Finish();
1954 ::flatbuffers::FlatBufferBuilder &_fbb,
1955 const std::vector<::flatbuffers::Offset<tt::target::TensorRef>> *inputs =
nullptr,
1956 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
1958 auto inputs__ = inputs ? _fbb.CreateVector<::flatbuffers::Offset<tt::target::TensorRef>>(*inputs) : 0;
1969 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
1974 const tt::target::TensorRef *
in()
const {
1975 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
1977 const tt::target::TensorRef *
out()
const {
1978 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
1980 const ::flatbuffers::Vector<int32_t> *
shape()
const {
1981 return GetPointer<const ::flatbuffers::Vector<int32_t> *>(
VT_SHAPE);
1983 bool Verify(::flatbuffers::Verifier &verifier)
const {
1984 return VerifyTableStart(verifier) &&
1985 VerifyOffset(verifier,
VT_IN) &&
1986 verifier.VerifyTable(in()) &&
1987 VerifyOffset(verifier,
VT_OUT) &&
1988 verifier.VerifyTable(out()) &&
1989 VerifyOffset(verifier,
VT_SHAPE) &&
1990 verifier.VerifyVector(shape()) &&
1991 verifier.EndTable();
1997 ::flatbuffers::FlatBufferBuilder &
fbb_;
1999 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
2002 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
2005 void add_shape(::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape) {
2014 auto o = ::flatbuffers::Offset<ReshapeOp>(end);
2020 ::flatbuffers::FlatBufferBuilder &_fbb,
2021 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
2022 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
2023 ::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape = 0) {
2028 return builder_.
Finish();
2037 ::flatbuffers::FlatBufferBuilder &_fbb,
2038 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
2039 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
2040 const std::vector<int32_t> *shape =
nullptr) {
2041 auto shape__ = shape ? _fbb.CreateVector<int32_t>(*shape) : 0;
2052 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2059 const tt::target::TensorRef *
in()
const {
2060 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
2062 const tt::target::TensorRef *
out()
const {
2063 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
2065 const ::flatbuffers::Vector<int64_t> *
begins()
const {
2066 return GetPointer<const ::flatbuffers::Vector<int64_t> *>(
VT_BEGINS);
2068 const ::flatbuffers::Vector<int64_t> *
ends()
const {
2069 return GetPointer<const ::flatbuffers::Vector<int64_t> *>(
VT_ENDS);
2071 const ::flatbuffers::Vector<int64_t> *
step()
const {
2072 return GetPointer<const ::flatbuffers::Vector<int64_t> *>(
VT_STEP);
2074 bool Verify(::flatbuffers::Verifier &verifier)
const {
2075 return VerifyTableStart(verifier) &&
2076 VerifyOffset(verifier,
VT_IN) &&
2077 verifier.VerifyTable(in()) &&
2078 VerifyOffset(verifier,
VT_OUT) &&
2079 verifier.VerifyTable(out()) &&
2081 verifier.VerifyVector(begins()) &&
2082 VerifyOffset(verifier,
VT_ENDS) &&
2083 verifier.VerifyVector(ends()) &&
2084 VerifyOffset(verifier,
VT_STEP) &&
2085 verifier.VerifyVector(step()) &&
2086 verifier.EndTable();
2092 ::flatbuffers::FlatBufferBuilder &
fbb_;
2094 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
2097 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
2100 void add_begins(::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> begins) {
2103 void add_ends(::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> ends) {
2106 void add_step(::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> step) {
2115 auto o = ::flatbuffers::Offset<SliceOp>(end);
2121 ::flatbuffers::FlatBufferBuilder &_fbb,
2122 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
2123 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
2124 ::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> begins = 0,
2125 ::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> ends = 0,
2126 ::flatbuffers::Offset<::flatbuffers::Vector<int64_t>> step = 0) {
2133 return builder_.
Finish();
2142 ::flatbuffers::FlatBufferBuilder &_fbb,
2143 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
2144 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
2145 const std::vector<int64_t> *begins =
nullptr,
2146 const std::vector<int64_t> *ends =
nullptr,
2147 const std::vector<int64_t> *step =
nullptr) {
2148 auto begins__ = begins ? _fbb.CreateVector<int64_t>(*begins) : 0;
2149 auto ends__ = ends ? _fbb.CreateVector<int64_t>(*ends) : 0;
2150 auto step__ = step ? _fbb.CreateVector<int64_t>(*step) : 0;
2163 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2169 const tt::target::TensorRef *
in0()
const {
2170 return GetPointer<const tt::target::TensorRef *>(
VT_IN0);
2172 const tt::target::TensorRef *
in1()
const {
2173 return GetPointer<const tt::target::TensorRef *>(
VT_IN1);
2175 const tt::target::TensorRef *
bias()
const {
2176 return GetPointer<const tt::target::TensorRef *>(
VT_BIAS);
2178 const tt::target::TensorRef *
out()
const {
2179 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
2181 bool Verify(::flatbuffers::Verifier &verifier)
const {
2182 return VerifyTableStart(verifier) &&
2183 VerifyOffset(verifier,
VT_IN0) &&
2184 verifier.VerifyTable(in0()) &&
2185 VerifyOffset(verifier,
VT_IN1) &&
2186 verifier.VerifyTable(in1()) &&
2187 VerifyOffset(verifier,
VT_BIAS) &&
2188 verifier.VerifyTable(bias()) &&
2189 VerifyOffset(verifier,
VT_OUT) &&
2190 verifier.VerifyTable(out()) &&
2191 verifier.EndTable();
2197 ::flatbuffers::FlatBufferBuilder &
fbb_;
2199 void add_in0(::flatbuffers::Offset<tt::target::TensorRef> in0) {
2202 void add_in1(::flatbuffers::Offset<tt::target::TensorRef> in1) {
2205 void add_bias(::flatbuffers::Offset<tt::target::TensorRef> bias) {
2208 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
2217 auto o = ::flatbuffers::Offset<LinearOp>(end);
2223 ::flatbuffers::FlatBufferBuilder &_fbb,
2224 ::flatbuffers::Offset<tt::target::TensorRef> in0 = 0,
2225 ::flatbuffers::Offset<tt::target::TensorRef> in1 = 0,
2226 ::flatbuffers::Offset<tt::target::TensorRef> bias = 0,
2227 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
2233 return builder_.
Finish();
2244 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2249 const tt::target::TensorRef *
in0()
const {
2250 return GetPointer<const tt::target::TensorRef *>(
VT_IN0);
2252 const tt::target::TensorRef *
in1()
const {
2253 return GetPointer<const tt::target::TensorRef *>(
VT_IN1);
2255 const tt::target::TensorRef *
out()
const {
2256 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
2258 bool Verify(::flatbuffers::Verifier &verifier)
const {
2259 return VerifyTableStart(verifier) &&
2260 VerifyOffset(verifier,
VT_IN0) &&
2261 verifier.VerifyTable(in0()) &&
2262 VerifyOffset(verifier,
VT_IN1) &&
2263 verifier.VerifyTable(in1()) &&
2264 VerifyOffset(verifier,
VT_OUT) &&
2265 verifier.VerifyTable(out()) &&
2266 verifier.EndTable();
2272 ::flatbuffers::FlatBufferBuilder &
fbb_;
2274 void add_in0(::flatbuffers::Offset<tt::target::TensorRef> in0) {
2277 void add_in1(::flatbuffers::Offset<tt::target::TensorRef> in1) {
2280 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
2289 auto o = ::flatbuffers::Offset<MatmulOp>(end);
2295 ::flatbuffers::FlatBufferBuilder &_fbb,
2296 ::flatbuffers::Offset<tt::target::TensorRef> in0 = 0,
2297 ::flatbuffers::Offset<tt::target::TensorRef> in1 = 0,
2298 ::flatbuffers::Offset<tt::target::TensorRef> out = 0) {
2303 return builder_.
Finish();
2314 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2335 const tt::target::TensorRef *
input()
const {
2336 return GetPointer<const tt::target::TensorRef *>(
VT_INPUT);
2338 const tt::target::TensorRef *
weight()
const {
2339 return GetPointer<const tt::target::TensorRef *>(
VT_WEIGHT);
2341 const tt::target::TensorRef *
bias()
const {
2342 return GetPointer<const tt::target::TensorRef *>(
VT_BIAS);
2344 const tt::target::TensorRef *
out()
const {
2345 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
2347 const tt::target::DeviceRef *
device()
const {
2348 return GetPointer<const tt::target::DeviceRef *>(
VT_DEVICE);
2390 return GetField<uint32_t>(VT_GROUPS, 0);
2392 bool Verify(::flatbuffers::Verifier &verifier)
const {
2393 return VerifyTableStart(verifier) &&
2394 VerifyOffset(verifier,
VT_INPUT) &&
2395 verifier.VerifyTable(input()) &&
2397 verifier.VerifyTable(weight()) &&
2398 VerifyOffset(verifier,
VT_BIAS) &&
2399 verifier.VerifyTable(bias()) &&
2400 VerifyOffset(verifier,
VT_OUT) &&
2401 verifier.VerifyTable(out()) &&
2403 verifier.VerifyTable(device()) &&
2417 VerifyField<uint32_t>(verifier, VT_GROUPS, 4) &&
2418 verifier.EndTable();
2424 ::flatbuffers::FlatBufferBuilder &
fbb_;
2426 void add_input(::flatbuffers::Offset<tt::target::TensorRef> input) {
2429 void add_weight(::flatbuffers::Offset<tt::target::TensorRef> weight) {
2432 void add_bias(::flatbuffers::Offset<tt::target::TensorRef> bias) {
2435 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
2438 void add_device(::flatbuffers::Offset<tt::target::DeviceRef> device) {
2481 fbb_.AddElement<uint32_t>(Conv2dOp::VT_GROUPS, groups, 0);
2489 auto o = ::flatbuffers::Offset<Conv2dOp>(end);
2495 ::flatbuffers::FlatBufferBuilder &_fbb,
2496 ::flatbuffers::Offset<tt::target::TensorRef> input = 0,
2497 ::flatbuffers::Offset<tt::target::TensorRef> weight = 0,
2498 ::flatbuffers::Offset<tt::target::TensorRef> bias = 0,
2499 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
2500 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
2501 uint32_t in_channels = 0,
2502 uint32_t out_channels = 0,
2503 uint32_t batch_size = 0,
2504 uint32_t input_height = 0,
2505 uint32_t input_width = 0,
2506 uint32_t kernel_height = 0,
2507 uint32_t kernel_width = 0,
2508 uint32_t stride_height = 0,
2509 uint32_t stride_width = 0,
2510 uint32_t padding_height = 0,
2511 uint32_t padding_width = 0,
2512 uint32_t dilation_height = 0,
2513 uint32_t dilation_width = 0,
2514 uint32_t groups = 0) {
2535 return builder_.
Finish();
2546 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2564 const tt::target::TensorRef *
in()
const {
2565 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
2567 const tt::target::TensorRef *
out()
const {
2568 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
2570 const tt::target::DeviceRef *
device()
const {
2571 return GetPointer<const tt::target::DeviceRef *>(
VT_DEVICE);
2612 bool Verify(::flatbuffers::Verifier &verifier)
const {
2613 return VerifyTableStart(verifier) &&
2614 VerifyOffset(verifier,
VT_IN) &&
2615 verifier.VerifyTable(in()) &&
2616 VerifyOffset(verifier,
VT_OUT) &&
2617 verifier.VerifyTable(out()) &&
2619 verifier.VerifyTable(device()) &&
2623 VerifyField<uint32_t>(verifier,
VT_CHANNELS, 4) &&
2633 verifier.EndTable();
2639 ::flatbuffers::FlatBufferBuilder &
fbb_;
2641 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
2644 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
2647 void add_device(::flatbuffers::Offset<tt::target::DeviceRef> device) {
2693 ::flatbuffers::Offset<MaxPool2dOp>
Finish() {
2695 auto o = ::flatbuffers::Offset<MaxPool2dOp>(end);
2701 ::flatbuffers::FlatBufferBuilder &_fbb,
2702 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
2703 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
2704 ::flatbuffers::Offset<tt::target::DeviceRef> device = 0,
2705 uint32_t batch_size = 0,
2706 uint32_t input_height = 0,
2707 uint32_t input_width = 0,
2708 uint32_t channels = 0,
2709 uint32_t kernel_height = 0,
2710 uint32_t kernel_width = 0,
2711 uint32_t stride_height = 0,
2712 uint32_t stride_width = 0,
2713 uint32_t dilation_height = 0,
2714 uint32_t dilation_width = 0,
2715 bool ceil_mode =
false,
2716 uint32_t padding_height = 0,
2717 uint32_t padding_width = 0) {
2735 return builder_.
Finish();
2746 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2750 const tt::target::TensorRef *
in()
const {
2751 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
2754 return GetField<uint8_t>(VT_FORCE, 0) != 0;
2756 bool Verify(::flatbuffers::Verifier &verifier)
const {
2757 return VerifyTableStart(verifier) &&
2758 VerifyOffset(verifier,
VT_IN) &&
2759 verifier.VerifyTable(in()) &&
2760 VerifyField<uint8_t>(verifier, VT_FORCE, 1) &&
2761 verifier.EndTable();
2767 ::flatbuffers::FlatBufferBuilder &
fbb_;
2769 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
2773 fbb_.AddElement<uint8_t>(DeallocateOp::VT_FORCE,
static_cast<uint8_t
>(force), 0);
2779 ::flatbuffers::Offset<DeallocateOp>
Finish() {
2781 auto o = ::flatbuffers::Offset<DeallocateOp>(end);
2787 ::flatbuffers::FlatBufferBuilder &_fbb,
2788 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
2789 bool force =
false) {
2793 return builder_.
Finish();
2804 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2810 const tt::target::TensorRef *
in()
const {
2811 return GetPointer<const tt::target::TensorRef *>(
VT_IN);
2813 const tt::target::TensorRef *
out()
const {
2814 return GetPointer<const tt::target::TensorRef *>(
VT_OUT);
2817 return GetField<uint32_t>(
VT_DIM, 0);
2820 return GetField<uint32_t>(VT_NUM_LINKS, 0);
2822 bool Verify(::flatbuffers::Verifier &verifier)
const {
2823 return VerifyTableStart(verifier) &&
2824 VerifyOffset(verifier,
VT_IN) &&
2825 verifier.VerifyTable(in()) &&
2826 VerifyOffset(verifier,
VT_OUT) &&
2827 verifier.VerifyTable(out()) &&
2828 VerifyField<uint32_t>(verifier,
VT_DIM, 4) &&
2829 VerifyField<uint32_t>(verifier, VT_NUM_LINKS, 4) &&
2830 verifier.EndTable();
2836 ::flatbuffers::FlatBufferBuilder &
fbb_;
2838 void add_in(::flatbuffers::Offset<tt::target::TensorRef> in) {
2841 void add_out(::flatbuffers::Offset<tt::target::TensorRef> out) {
2848 fbb_.AddElement<uint32_t>(AllGatherOp::VT_NUM_LINKS, num_links, 0);
2854 ::flatbuffers::Offset<AllGatherOp>
Finish() {
2856 auto o = ::flatbuffers::Offset<AllGatherOp>(end);
2862 ::flatbuffers::FlatBufferBuilder &_fbb,
2863 ::flatbuffers::Offset<tt::target::TensorRef> in = 0,
2864 ::flatbuffers::Offset<tt::target::TensorRef> out = 0,
2866 uint32_t num_links = 0) {
2872 return builder_.
Finish();
2883 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
2892 return GetPointer<const void *>(
VT_TYPE);
2965 return GetPointer<const ::flatbuffers::String *>(VT_DEBUG_INFO);
2967 bool Verify(::flatbuffers::Verifier &verifier)
const {
2968 return VerifyTableStart(verifier) &&
2970 VerifyOffset(verifier,
VT_TYPE) &&
2972 VerifyOffset(verifier, VT_DEBUG_INFO) &&
2973 verifier.VerifyString(debug_info()) &&
2974 verifier.EndTable();
2978 template<>
inline const tt::target::ttnn::GetDeviceOp *Operation::type_as<tt::target::ttnn::GetDeviceOp>()
const {
2979 return type_as_GetDeviceOp();
2982 template<>
inline const tt::target::ttnn::ToMemoryConfigOp *Operation::type_as<tt::target::ttnn::ToMemoryConfigOp>()
const {
2983 return type_as_ToMemoryConfigOp();
2986 template<>
inline const tt::target::ttnn::ToLayoutOp *Operation::type_as<tt::target::ttnn::ToLayoutOp>()
const {
2987 return type_as_ToLayoutOp();
2990 template<>
inline const tt::target::ttnn::TypecastOp *Operation::type_as<tt::target::ttnn::TypecastOp>()
const {
2991 return type_as_TypecastOp();
2994 template<>
inline const tt::target::ttnn::ToDeviceOp *Operation::type_as<tt::target::ttnn::ToDeviceOp>()
const {
2995 return type_as_ToDeviceOp();
2998 template<>
inline const tt::target::ttnn::FromDeviceOp *Operation::type_as<tt::target::ttnn::FromDeviceOp>()
const {
2999 return type_as_FromDeviceOp();
3002 template<>
inline const tt::target::ttnn::EmptyOp *Operation::type_as<tt::target::ttnn::EmptyOp>()
const {
3003 return type_as_EmptyOp();
3006 template<>
inline const tt::target::ttnn::FullOp *Operation::type_as<tt::target::ttnn::FullOp>()
const {
3007 return type_as_FullOp();
3010 template<>
inline const tt::target::ttnn::EltwiseOp *Operation::type_as<tt::target::ttnn::EltwiseOp>()
const {
3011 return type_as_EltwiseOp();
3014 template<>
inline const tt::target::ttnn::LinearOp *Operation::type_as<tt::target::ttnn::LinearOp>()
const {
3015 return type_as_LinearOp();
3018 template<>
inline const tt::target::ttnn::MatmulOp *Operation::type_as<tt::target::ttnn::MatmulOp>()
const {
3019 return type_as_MatmulOp();
3022 template<>
inline const tt::target::ttnn::ReductionOp *Operation::type_as<tt::target::ttnn::ReductionOp>()
const {
3023 return type_as_ReductionOp();
3026 template<>
inline const tt::target::ttnn::EmbeddingOp *Operation::type_as<tt::target::ttnn::EmbeddingOp>()
const {
3027 return type_as_EmbeddingOp();
3030 template<>
inline const tt::target::ttnn::SoftmaxOp *Operation::type_as<tt::target::ttnn::SoftmaxOp>()
const {
3031 return type_as_SoftmaxOp();
3034 template<>
inline const tt::target::ttnn::TransposeOp *Operation::type_as<tt::target::ttnn::TransposeOp>()
const {
3035 return type_as_TransposeOp();
3038 template<>
inline const tt::target::ttnn::Conv2dOp *Operation::type_as<tt::target::ttnn::Conv2dOp>()
const {
3039 return type_as_Conv2dOp();
3042 template<>
inline const tt::target::ttnn::ConcatOp *Operation::type_as<tt::target::ttnn::ConcatOp>()
const {
3043 return type_as_ConcatOp();
3046 template<>
inline const tt::target::ttnn::ReshapeOp *Operation::type_as<tt::target::ttnn::ReshapeOp>()
const {
3047 return type_as_ReshapeOp();
3050 template<>
inline const tt::target::ttnn::SliceOp *Operation::type_as<tt::target::ttnn::SliceOp>()
const {
3051 return type_as_SliceOp();
3054 template<>
inline const tt::target::ttnn::MaxPool2dOp *Operation::type_as<tt::target::ttnn::MaxPool2dOp>()
const {
3055 return type_as_MaxPool2dOp();
3058 template<>
inline const tt::target::ttnn::DeallocateOp *Operation::type_as<tt::target::ttnn::DeallocateOp>()
const {
3059 return type_as_DeallocateOp();
3062 template<>
inline const tt::target::ttnn::AllGatherOp *Operation::type_as<tt::target::ttnn::AllGatherOp>()
const {
3063 return type_as_AllGatherOp();
3066 template<>
inline const tt::target::ttnn::ArangeOp *Operation::type_as<tt::target::ttnn::ArangeOp>()
const {
3067 return type_as_ArangeOp();
3072 ::flatbuffers::FlatBufferBuilder &
fbb_;
3081 fbb_.AddOffset(Operation::VT_DEBUG_INFO, debug_info);
3089 auto o = ::flatbuffers::Offset<Operation>(end);
3095 ::flatbuffers::FlatBufferBuilder &_fbb,
3097 ::flatbuffers::Offset<void> type = 0,
3098 ::flatbuffers::Offset<::flatbuffers::String> debug_info = 0) {
3103 return builder_.
Finish();
3112 ::flatbuffers::FlatBufferBuilder &_fbb,
3114 ::flatbuffers::Offset<void> type = 0,
3115 const char *debug_info =
nullptr) {
3116 auto debug_info__ = debug_info ? _fbb.CreateString(debug_info) : 0;
3127 enum FlatBuffersVTableOffset FLATBUFFERS_VTABLE_UNDERLYING_TYPE {
3134 const ::flatbuffers::String *
name()
const {
3135 return GetPointer<const ::flatbuffers::String *>(
VT_NAME);
3137 const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *
inputs()
const {
3138 return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *>(
VT_INPUTS);
3140 const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *
outputs()
const {
3141 return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>> *>(
VT_OUTPUTS);
3143 const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::ttnn::Operation>> *
operations()
const {
3144 return GetPointer<const ::flatbuffers::Vector<::flatbuffers::Offset<tt::target::ttnn::Operation>> *>(
VT_OPERATIONS);
3147 return GetPointer<const tt::target::DebugInfo *>(VT_DEBUG_INFO);
3149 bool Verify(::flatbuffers::Verifier &verifier)
const {
3150 return VerifyTableStart(verifier) &&
3151 VerifyOffset(verifier,
VT_NAME) &&
3152 verifier.VerifyString(name()) &&
3154 verifier.VerifyVector(inputs()) &&
3155 verifier.VerifyVectorOfTables(inputs()) &&
3157 verifier.VerifyVector(outputs()) &&
3158 verifier.VerifyVectorOfTables(outputs()) &&
3160 verifier.VerifyVector(operations()) &&
3161 verifier.VerifyVectorOfTables(operations()) &&
3162 VerifyOffset(verifier, VT_DEBUG_INFO) &&
3163 verifier.VerifyTable(debug_info()) &&
3164 verifier.EndTable();
3170 ::flatbuffers::FlatBufferBuilder &
fbb_;
3172 void add_name(::flatbuffers::Offset<::flatbuffers::String> name) {
3175 void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> inputs) {
3178 void add_outputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> outputs) {
3181 void add_operations(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::ttnn::Operation>>> operations) {
3185 fbb_.AddOffset(Program::VT_DEBUG_INFO, debug_info);
3193 auto o = ::flatbuffers::Offset<Program>(end);
3199 ::flatbuffers::FlatBufferBuilder &_fbb,
3200 ::flatbuffers::Offset<::flatbuffers::String> name = 0,
3201 ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> inputs = 0,
3202 ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::TensorRef>>> outputs = 0,
3203 ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset<tt::target::ttnn::Operation>>> operations = 0,
3204 ::flatbuffers::Offset<tt::target::DebugInfo> debug_info = 0) {
3211 return builder_.
Finish();
3220 ::flatbuffers::FlatBufferBuilder &_fbb,
3221 const char *name =
nullptr,
3222 const std::vector<::flatbuffers::Offset<tt::target::TensorRef>> *inputs =
nullptr,
3223 const std::vector<::flatbuffers::Offset<tt::target::TensorRef>> *outputs =
nullptr,
3224 const std::vector<::flatbuffers::Offset<tt::target::ttnn::Operation>> *operations =
nullptr,
3225 ::flatbuffers::Offset<tt::target::DebugInfo> debug_info = 0) {
3226 auto name__ = name ? _fbb.CreateString(name) : 0;
3227 auto inputs__ = inputs ? _fbb.CreateVector<::flatbuffers::Offset<tt::target::TensorRef>>(*inputs) : 0;
3228 auto outputs__ = outputs ? _fbb.CreateVector<::flatbuffers::Offset<tt::target::TensorRef>>(*outputs) : 0;
3229 auto operations__ = operations ? _fbb.CreateVector<::flatbuffers::Offset<tt::target::ttnn::Operation>>(*operations) : 0;
3245 auto ptr =
reinterpret_cast<const tt::target::ttnn::ClampOpParams *
>(obj);
3246 return verifier.VerifyTable(ptr);
3249 auto ptr =
reinterpret_cast<const tt::target::ttnn::EltwiseOpWithFloatParams *
>(obj);
3250 return verifier.VerifyTable(ptr);
3252 default:
return true;
3256 inline bool VerifyEltwiseOpParamsVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<EltwiseOpParams> *types) {
3257 if (!values || !types)
return !values && !types;
3258 if (values->size() != types->size())
return false;
3259 for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
3274 auto ptr =
reinterpret_cast<const tt::target::ttnn::GetDeviceOp *
>(obj);
3275 return verifier.VerifyTable(ptr);
3278 auto ptr =
reinterpret_cast<const tt::target::ttnn::ToMemoryConfigOp *
>(obj);
3279 return verifier.VerifyTable(ptr);
3282 auto ptr =
reinterpret_cast<const tt::target::ttnn::ToLayoutOp *
>(obj);
3283 return verifier.VerifyTable(ptr);
3286 auto ptr =
reinterpret_cast<const tt::target::ttnn::TypecastOp *
>(obj);
3287 return verifier.VerifyTable(ptr);
3290 auto ptr =
reinterpret_cast<const tt::target::ttnn::ToDeviceOp *
>(obj);
3291 return verifier.VerifyTable(ptr);
3294 auto ptr =
reinterpret_cast<const tt::target::ttnn::FromDeviceOp *
>(obj);
3295 return verifier.VerifyTable(ptr);
3298 auto ptr =
reinterpret_cast<const tt::target::ttnn::EmptyOp *
>(obj);
3299 return verifier.VerifyTable(ptr);
3302 auto ptr =
reinterpret_cast<const tt::target::ttnn::FullOp *
>(obj);
3303 return verifier.VerifyTable(ptr);
3306 auto ptr =
reinterpret_cast<const tt::target::ttnn::EltwiseOp *
>(obj);
3307 return verifier.VerifyTable(ptr);
3310 auto ptr =
reinterpret_cast<const tt::target::ttnn::LinearOp *
>(obj);
3311 return verifier.VerifyTable(ptr);
3314 auto ptr =
reinterpret_cast<const tt::target::ttnn::MatmulOp *
>(obj);
3315 return verifier.VerifyTable(ptr);
3318 auto ptr =
reinterpret_cast<const tt::target::ttnn::ReductionOp *
>(obj);
3319 return verifier.VerifyTable(ptr);
3322 auto ptr =
reinterpret_cast<const tt::target::ttnn::EmbeddingOp *
>(obj);
3323 return verifier.VerifyTable(ptr);
3326 auto ptr =
reinterpret_cast<const tt::target::ttnn::SoftmaxOp *
>(obj);
3327 return verifier.VerifyTable(ptr);
3330 auto ptr =
reinterpret_cast<const tt::target::ttnn::TransposeOp *
>(obj);
3331 return verifier.VerifyTable(ptr);
3334 auto ptr =
reinterpret_cast<const tt::target::ttnn::Conv2dOp *
>(obj);
3335 return verifier.VerifyTable(ptr);
3338 auto ptr =
reinterpret_cast<const tt::target::ttnn::ConcatOp *
>(obj);
3339 return verifier.VerifyTable(ptr);
3342 auto ptr =
reinterpret_cast<const tt::target::ttnn::ReshapeOp *
>(obj);
3343 return verifier.VerifyTable(ptr);
3346 auto ptr =
reinterpret_cast<const tt::target::ttnn::SliceOp *
>(obj);
3347 return verifier.VerifyTable(ptr);
3350 auto ptr =
reinterpret_cast<const tt::target::ttnn::MaxPool2dOp *
>(obj);
3351 return verifier.VerifyTable(ptr);
3354 auto ptr =
reinterpret_cast<const tt::target::ttnn::DeallocateOp *
>(obj);
3355 return verifier.VerifyTable(ptr);
3358 auto ptr =
reinterpret_cast<const tt::target::ttnn::AllGatherOp *
>(obj);
3359 return verifier.VerifyTable(ptr);
3362 auto ptr =
reinterpret_cast<const tt::target::ttnn::ArangeOp *
>(obj);
3363 return verifier.VerifyTable(ptr);
3365 default:
return true;
3369 inline bool VerifyOpTypeVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset<void>> *values, const ::flatbuffers::Vector<OpType> *types) {
3370 if (!values || !types)
return !values && !types;
3371 if (values->size() != types->size())
return false;
3372 for (::flatbuffers::uoffset_t i = 0; i < values->size(); ++i) {
3374 verifier, values->Get(i), types->GetEnum<
OpType>(i))) {
VT_LAYOUT
Definition: program_generated.h:681
VT_IN0
Definition: program_generated.h:610
VT_KERNEL_WIDTH
Definition: program_generated.h:2326
VT_INPUT
Definition: program_generated.h:1669
VT_DTYPE
Definition: program_generated.h:682
VT_NUM_SHARDS
Definition: program_generated.h:993
VT_STRATEGY
Definition: program_generated.h:996
VT_SHAPE
Definition: program_generated.h:990
VT_BEGINS
Definition: program_generated.h:2055
VT_PARAMS_TYPE
Definition: program_generated.h:1442
VT_START
Definition: program_generated.h:1225
VT_IN1
Definition: program_generated.h:2165
VT_STRIDE_HEIGHT
Definition: program_generated.h:2327
VT_WEIGHT
Definition: program_generated.h:1670
VT_DIM0
Definition: program_generated.h:1810
VT_CHANNELS
Definition: program_generated.h:2553
VT_KERNEL_HEIGHT
Definition: program_generated.h:2325
VT_BATCH_SIZE
Definition: program_generated.h:2322
VT_DIM
Definition: program_generated.h:2807
VT_MESH
Definition: program_generated.h:528
VT_DIM_ARG
Definition: program_generated.h:1565
VT_TYPE_TYPE
Definition: program_generated.h:2884
VT_MIN
Definition: program_generated.h:1335
VT_PADDING_WIDTH
Definition: program_generated.h:2330
VT_STRIDE_WIDTH
Definition: program_generated.h:2328
VT_INPUTS
Definition: program_generated.h:1887
VT_CHIP_IDS
Definition: program_generated.h:529
VT_TYPE
Definition: program_generated.h:1439
VT_INPUT_HEIGHT
Definition: program_generated.h:2323
VT_IN_CHANNELS
Definition: program_generated.h:2320
VT_OUTPUTS
Definition: program_generated.h:3130
VT_IN
Definition: program_generated.h:680
VT_DEVICE
Definition: program_generated.h:684
VT_DILATION_WIDTH
Definition: program_generated.h:2332
VT_END
Definition: program_generated.h:1226
VT_FILL_VALUE
Definition: program_generated.h:1136
VT_INPUT_WIDTH
Definition: program_generated.h:2324
VT_ENDS
Definition: program_generated.h:2056
VT_DILATION_HEIGHT
Definition: program_generated.h:2331
VT_NAME
Definition: program_generated.h:3128
VT_BIAS
Definition: program_generated.h:2166
VT_OUT
Definition: program_generated.h:1441
VT_PADDING_HEIGHT
Definition: program_generated.h:2329
VT_OPERATIONS
Definition: program_generated.h:3131
VT_OUT_CHANNELS
Definition: program_generated.h:2321
VT_INS
Definition: program_generated.h:1440
VT_MEMCFG
Definition: program_generated.h:611
VT_STEP
Definition: program_generated.h:1227
VT_CEIL_MODE
Definition: program_generated.h:2560
inline ::flatbuffers::Offset< Operation > CreateOperation(::flatbuffers::FlatBufferBuilder &_fbb, tt::target::ttnn::OpType type_type=tt::target::ttnn::OpType::NONE, ::flatbuffers::Offset< void > type=0, ::flatbuffers::Offset<::flatbuffers::String > debug_info=0)
Definition: program_generated.h:3094
EltwiseOpType
Definition: program_generated.h:104
inline ::flatbuffers::Offset< SliceOp > CreateSliceOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, ::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> begins=0, ::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> ends=0, ::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> step=0)
Definition: program_generated.h:2120
bool VerifyOpTypeVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset< void >> *values, const ::flatbuffers::Vector< OpType > *types)
Definition: program_generated.h:3369
inline ::flatbuffers::Offset< Program > CreateProgram(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::String > name=0, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> inputs=0, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> outputs=0, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::ttnn::Operation >>> operations=0, ::flatbuffers::Offset< tt::target::DebugInfo > debug_info=0)
Definition: program_generated.h:3198
inline ::flatbuffers::Offset< SliceOp > CreateSliceOpDirect(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, const std::vector< int64_t > *begins=nullptr, const std::vector< int64_t > *ends=nullptr, const std::vector< int64_t > *step=nullptr)
Definition: program_generated.h:2141
inline ::flatbuffers::Offset< Program > CreateProgramDirect(::flatbuffers::FlatBufferBuilder &_fbb, const char *name=nullptr, const std::vector<::flatbuffers::Offset< tt::target::TensorRef >> *inputs=nullptr, const std::vector<::flatbuffers::Offset< tt::target::TensorRef >> *outputs=nullptr, const std::vector<::flatbuffers::Offset< tt::target::ttnn::Operation >> *operations=nullptr, ::flatbuffers::Offset< tt::target::DebugInfo > debug_info=0)
Definition: program_generated.h:3219
inline ::flatbuffers::Offset< EltwiseOp > CreateEltwiseOp(::flatbuffers::FlatBufferBuilder &_fbb, tt::target::ttnn::EltwiseOpType type=tt::target::ttnn::EltwiseOpType::Add, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> ins=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, tt::target::ttnn::EltwiseOpParams params_type=tt::target::ttnn::EltwiseOpParams::NONE, ::flatbuffers::Offset< void > params=0)
Definition: program_generated.h:1520
EltwiseOpParams
Definition: program_generated.h:248
@ EltwiseOpWithFloatParams
inline ::flatbuffers::Offset< ReductionOp > CreateReductionOp(::flatbuffers::FlatBufferBuilder &_fbb, tt::target::ttnn::ReductionOpType type=tt::target::ttnn::ReductionOpType::Sum, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, ::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> dim_arg=0, bool keep_dim=false)
Definition: program_generated.h:1627
inline ::flatbuffers::Offset< TransposeOp > CreateTransposeOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, int32_t dim0=0, int32_t dim1=0)
Definition: program_generated.h:1864
const char * EnumNameEltwiseOpType(EltwiseOpType e)
Definition: program_generated.h:242
inline ::flatbuffers::Offset< MatmulOp > CreateMatmulOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in0=0, ::flatbuffers::Offset< tt::target::TensorRef > in1=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:2294
ReductionOpType
Definition: program_generated.h:296
OpType
Definition: program_generated.h:329
inline ::flatbuffers::Offset< GetDeviceOp > CreateGetDeviceOp(::flatbuffers::FlatBufferBuilder &_fbb, const tt::target::Dim2d *mesh=nullptr, ::flatbuffers::Offset<::flatbuffers::Vector< uint32_t >> chip_ids=0, ::flatbuffers::Offset< tt::target::DeviceRef > out=0)
Definition: program_generated.h:576
const char *const * EnumNamesEltwiseOpParams()
Definition: program_generated.h:265
const char *const * EnumNamesReductionOpType()
Definition: program_generated.h:313
const char * EnumNameReductionOpType(ReductionOpType e)
Definition: program_generated.h:323
const char *const * EnumNamesEltwiseOpType()
Definition: program_generated.h:195
inline ::flatbuffers::Offset< ToLayoutOp > CreateToLayoutOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, tt::target::TensorLayout layout=tt::target::TensorLayout::RowMajor, ::flatbuffers::Optional< tt::target::DataType > dtype=::flatbuffers::nullopt, ::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg=0, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:754
inline ::flatbuffers::Offset< GetDeviceOp > CreateGetDeviceOpDirect(::flatbuffers::FlatBufferBuilder &_fbb, const tt::target::Dim2d *mesh=nullptr, const std::vector< uint32_t > *chip_ids=nullptr, ::flatbuffers::Offset< tt::target::DeviceRef > out=0)
Definition: program_generated.h:593
const ReductionOpType(& EnumValuesReductionOpType())[3]
Definition: program_generated.h:304
inline ::flatbuffers::Offset< ClampOpParams > CreateClampOpParams(::flatbuffers::FlatBufferBuilder &_fbb, float min=0.0f, float max=0.0f)
Definition: program_generated.h:1373
const EltwiseOpType(& EnumValuesEltwiseOpType())[40]
Definition: program_generated.h:149
inline ::flatbuffers::Offset< FromDeviceOp > CreateFromDeviceOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:971
inline ::flatbuffers::Offset< EmptyOp > CreateEmptyOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> shape=0, tt::target::DataType dtype=tt::target::DataType::Float32, tt::target::TensorLayout layout=tt::target::TensorLayout::RowMajor, uint32_t num_shards=0, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, ::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg=0, ::flatbuffers::Offset< tt::target::DistributionStrategy > strategy=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:1081
inline ::flatbuffers::Offset< LinearOp > CreateLinearOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in0=0, ::flatbuffers::Offset< tt::target::TensorRef > in1=0, ::flatbuffers::Offset< tt::target::TensorRef > bias=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:2222
inline ::flatbuffers::Offset< Conv2dOp > CreateConv2dOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > input=0, ::flatbuffers::Offset< tt::target::TensorRef > weight=0, ::flatbuffers::Offset< tt::target::TensorRef > bias=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, uint32_t in_channels=0, uint32_t out_channels=0, uint32_t batch_size=0, uint32_t input_height=0, uint32_t input_width=0, uint32_t kernel_height=0, uint32_t kernel_width=0, uint32_t stride_height=0, uint32_t stride_width=0, uint32_t padding_height=0, uint32_t padding_width=0, uint32_t dilation_height=0, uint32_t dilation_width=0, uint32_t groups=0)
Definition: program_generated.h:2494
const EltwiseOpParams(& EnumValuesEltwiseOpParams())[3]
Definition: program_generated.h:256
const char *const * EnumNamesOpType()
Definition: program_generated.h:388
inline ::flatbuffers::Offset< ToMemoryConfigOp > CreateToMemoryConfigOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in0=0, ::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:659
const char * EnumNameEltwiseOpParams(EltwiseOpParams e)
Definition: program_generated.h:275
inline ::flatbuffers::Offset< FullOp > CreateFullOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, float fill_value=0.0f, uint32_t num_shards=0, ::flatbuffers::Offset< tt::target::DistributionStrategy > strategy=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:1200
const OpType(& EnumValuesOpType())[24]
Definition: program_generated.h:358
const char * EnumNameOpType(OpType e)
Definition: program_generated.h:419
bool VerifyOpType(::flatbuffers::Verifier &verifier, const void *obj, OpType type)
Definition: program_generated.h:3268
inline ::flatbuffers::Offset< ConcatOp > CreateConcatOpDirect(::flatbuffers::FlatBufferBuilder &_fbb, const std::vector<::flatbuffers::Offset< tt::target::TensorRef >> *inputs=nullptr, ::flatbuffers::Offset< tt::target::TensorRef > out=0, int32_t dim=0)
Definition: program_generated.h:1953
inline ::flatbuffers::Offset< ReshapeOp > CreateReshapeOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, ::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> shape=0)
Definition: program_generated.h:2019
inline ::flatbuffers::Offset< ReshapeOp > CreateReshapeOpDirect(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, const std::vector< int32_t > *shape=nullptr)
Definition: program_generated.h:2036
inline ::flatbuffers::Offset< ConcatOp > CreateConcatOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> inputs=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, int32_t dim=0)
Definition: program_generated.h:1936
inline ::flatbuffers::Offset< TypecastOp > CreateTypecastOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, tt::target::DataType dtype=tt::target::DataType::Float32, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:829
inline ::flatbuffers::Offset< AllGatherOp > CreateAllGatherOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, uint32_t dim=0, uint32_t num_links=0)
Definition: program_generated.h:2861
bool VerifyEltwiseOpParams(::flatbuffers::Verifier &verifier, const void *obj, EltwiseOpParams type)
Definition: program_generated.h:3239
inline ::flatbuffers::Offset< ReductionOp > CreateReductionOpDirect(::flatbuffers::FlatBufferBuilder &_fbb, tt::target::ttnn::ReductionOpType type=tt::target::ttnn::ReductionOpType::Sum, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, const std::vector< int32_t > *dim_arg=nullptr, bool keep_dim=false)
Definition: program_generated.h:1648
inline ::flatbuffers::Offset< MaxPool2dOp > CreateMaxPool2dOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, uint32_t batch_size=0, uint32_t input_height=0, uint32_t input_width=0, uint32_t channels=0, uint32_t kernel_height=0, uint32_t kernel_width=0, uint32_t stride_height=0, uint32_t stride_width=0, uint32_t dilation_height=0, uint32_t dilation_width=0, bool ceil_mode=false, uint32_t padding_height=0, uint32_t padding_width=0)
Definition: program_generated.h:2700
inline ::flatbuffers::Offset< EltwiseOpWithFloatParams > CreateEltwiseOpWithFloatParams(::flatbuffers::FlatBufferBuilder &_fbb, float parameter=0.0f)
Definition: program_generated.h:1422
inline ::flatbuffers::Offset< EmbeddingOp > CreateEmbeddingOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > input=0, ::flatbuffers::Offset< tt::target::TensorRef > weight=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:1718
bool VerifyEltwiseOpParamsVector(::flatbuffers::Verifier &verifier, const ::flatbuffers::Vector<::flatbuffers::Offset< void >> *values, const ::flatbuffers::Vector< EltwiseOpParams > *types)
Definition: program_generated.h:3256
inline ::flatbuffers::Offset< Operation > CreateOperationDirect(::flatbuffers::FlatBufferBuilder &_fbb, tt::target::ttnn::OpType type_type=tt::target::ttnn::OpType::NONE, ::flatbuffers::Offset< void > type=0, const char *debug_info=nullptr)
Definition: program_generated.h:3111
inline ::flatbuffers::Offset< ToDeviceOp > CreateToDeviceOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, ::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:908
inline ::flatbuffers::Offset< ArangeOp > CreateArangeOp(::flatbuffers::FlatBufferBuilder &_fbb, float start=0.0f, float end=0.0f, float step=0.0f, ::flatbuffers::Optional< tt::target::DataType > dtype=::flatbuffers::nullopt, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, ::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:1306
inline ::flatbuffers::Offset< EmptyOp > CreateEmptyOpDirect(::flatbuffers::FlatBufferBuilder &_fbb, const std::vector< int64_t > *shape=nullptr, tt::target::DataType dtype=tt::target::DataType::Float32, tt::target::TensorLayout layout=tt::target::TensorLayout::RowMajor, uint32_t num_shards=0, ::flatbuffers::Offset< tt::target::DeviceRef > device=0, ::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg=0, ::flatbuffers::Offset< tt::target::DistributionStrategy > strategy=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0)
Definition: program_generated.h:1108
inline ::flatbuffers::Offset< DeallocateOp > CreateDeallocateOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, bool force=false)
Definition: program_generated.h:2786
inline ::flatbuffers::Offset< SoftmaxOp > CreateSoftmaxOp(::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset< tt::target::TensorRef > in=0, ::flatbuffers::Offset< tt::target::TensorRef > out=0, int32_t dimension=0)
Definition: program_generated.h:1787
inline ::flatbuffers::Offset< EltwiseOp > CreateEltwiseOpDirect(::flatbuffers::FlatBufferBuilder &_fbb, tt::target::ttnn::EltwiseOpType type=tt::target::ttnn::EltwiseOpType::Add, const std::vector<::flatbuffers::Offset< tt::target::TensorRef >> *ins=nullptr, ::flatbuffers::Offset< tt::target::TensorRef > out=0, tt::target::ttnn::EltwiseOpParams params_type=tt::target::ttnn::EltwiseOpParams::NONE, ::flatbuffers::Offset< void > params=0)
Definition: program_generated.h:1541
TensorLayout
Definition: types_generated.h:325
DataType
Definition: types_generated.h:117
Definition: debug_info_generated.h:18
Definition: debug_info_generated.h:36
Definition: program_generated.h:2834
::flatbuffers::Offset< AllGatherOp > Finish()
Definition: program_generated.h:2854
void add_num_links(uint32_t num_links)
Definition: program_generated.h:2847
AllGatherOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2850
void add_dim(uint32_t dim)
Definition: program_generated.h:2844
AllGatherOp Table
Definition: program_generated.h:2835
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:2841
::flatbuffers::uoffset_t start_
Definition: program_generated.h:2837
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:2836
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:2838
Definition: program_generated.h:2875
static constexpr auto Create
Definition: program_generated.h:2877
AllGatherOp type
Definition: program_generated.h:2876
Definition: program_generated.h:1270
ArangeOp Table
Definition: program_generated.h:1271
void add_start(float start)
Definition: program_generated.h:1274
void add_dtype(tt::target::DataType dtype)
Definition: program_generated.h:1283
void add_step(float step)
Definition: program_generated.h:1280
::flatbuffers::Offset< ArangeOp > Finish()
Definition: program_generated.h:1299
ArangeOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1295
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1272
void add_memcfg(::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg)
Definition: program_generated.h:1289
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1273
void add_end(float end)
Definition: program_generated.h:1277
void add_device(::flatbuffers::Offset< tt::target::DeviceRef > device)
Definition: program_generated.h:1286
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1292
Definition: program_generated.h:1326
ArangeOp type
Definition: program_generated.h:1327
static constexpr auto Create
Definition: program_generated.h:1328
Definition: program_generated.h:1352
void add_max(float max)
Definition: program_generated.h:1359
ClampOpParams Table
Definition: program_generated.h:1353
void add_min(float min)
Definition: program_generated.h:1356
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1355
::flatbuffers::Offset< ClampOpParams > Finish()
Definition: program_generated.h:1366
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1354
ClampOpParamsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1362
Definition: program_generated.h:1383
ClampOpParams type
Definition: program_generated.h:1384
static constexpr auto Create
Definition: program_generated.h:1385
Definition: program_generated.h:1912
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1914
void add_dim(int32_t dim)
Definition: program_generated.h:1922
::flatbuffers::Offset< ConcatOp > Finish()
Definition: program_generated.h:1929
ConcatOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1925
void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> inputs)
Definition: program_generated.h:1916
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1915
ConcatOp Table
Definition: program_generated.h:1913
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1919
Definition: program_generated.h:1948
ConcatOp type
Definition: program_generated.h:1949
static constexpr auto Create
Definition: program_generated.h:1950
Definition: program_generated.h:2422
void add_in_channels(uint32_t in_channels)
Definition: program_generated.h:2441
void add_input_width(uint32_t input_width)
Definition: program_generated.h:2453
void add_input(::flatbuffers::Offset< tt::target::TensorRef > input)
Definition: program_generated.h:2426
Conv2dOp Table
Definition: program_generated.h:2423
void add_out_channels(uint32_t out_channels)
Definition: program_generated.h:2444
::flatbuffers::Offset< Conv2dOp > Finish()
Definition: program_generated.h:2487
void add_stride_width(uint32_t stride_width)
Definition: program_generated.h:2465
void add_device(::flatbuffers::Offset< tt::target::DeviceRef > device)
Definition: program_generated.h:2438
Conv2dOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2483
void add_groups(uint32_t groups)
Definition: program_generated.h:2480
void add_padding_width(uint32_t padding_width)
Definition: program_generated.h:2471
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:2435
void add_dilation_width(uint32_t dilation_width)
Definition: program_generated.h:2477
void add_kernel_width(uint32_t kernel_width)
Definition: program_generated.h:2459
void add_kernel_height(uint32_t kernel_height)
Definition: program_generated.h:2456
::flatbuffers::uoffset_t start_
Definition: program_generated.h:2425
void add_padding_height(uint32_t padding_height)
Definition: program_generated.h:2468
void add_batch_size(uint32_t batch_size)
Definition: program_generated.h:2447
void add_bias(::flatbuffers::Offset< tt::target::TensorRef > bias)
Definition: program_generated.h:2432
void add_input_height(uint32_t input_height)
Definition: program_generated.h:2450
void add_stride_height(uint32_t stride_height)
Definition: program_generated.h:2462
void add_dilation_height(uint32_t dilation_height)
Definition: program_generated.h:2474
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:2424
void add_weight(::flatbuffers::Offset< tt::target::TensorRef > weight)
Definition: program_generated.h:2429
Definition: program_generated.h:2538
static constexpr auto Create
Definition: program_generated.h:2540
Conv2dOp type
Definition: program_generated.h:2539
Definition: program_generated.h:2765
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:2769
DeallocateOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2775
::flatbuffers::uoffset_t start_
Definition: program_generated.h:2768
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:2767
DeallocateOp Table
Definition: program_generated.h:2766
::flatbuffers::Offset< DeallocateOp > Finish()
Definition: program_generated.h:2779
void add_force(bool force)
Definition: program_generated.h:2772
Definition: program_generated.h:2796
DeallocateOp type
Definition: program_generated.h:2797
static constexpr auto Create
Definition: program_generated.h:2798
Definition: program_generated.h:1490
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1500
::flatbuffers::Offset< EltwiseOp > Finish()
Definition: program_generated.h:1513
void add_params(::flatbuffers::Offset< void > params)
Definition: program_generated.h:1506
void add_params_type(tt::target::ttnn::EltwiseOpParams params_type)
Definition: program_generated.h:1503
EltwiseOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1509
void add_ins(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> ins)
Definition: program_generated.h:1497
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1493
void add_type(tt::target::ttnn::EltwiseOpType type)
Definition: program_generated.h:1494
EltwiseOp Table
Definition: program_generated.h:1491
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1492
Definition: program_generated.h:281
static const EltwiseOpParams enum_value
Definition: program_generated.h:282
Definition: program_generated.h:1404
::flatbuffers::Offset< EltwiseOpWithFloatParams > Finish()
Definition: program_generated.h:1415
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1407
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1406
EltwiseOpWithFloatParams Table
Definition: program_generated.h:1405
EltwiseOpWithFloatParamsBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1411
void add_parameter(float parameter)
Definition: program_generated.h:1408
Definition: program_generated.h:1430
static constexpr auto Create
Definition: program_generated.h:1432
EltwiseOpWithFloatParams type
Definition: program_generated.h:1431
Definition: program_generated.h:1536
static constexpr auto Create
Definition: program_generated.h:1538
EltwiseOp type
Definition: program_generated.h:1537
Definition: program_generated.h:1694
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1697
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1704
EmbeddingOp Table
Definition: program_generated.h:1695
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1696
::flatbuffers::Offset< EmbeddingOp > Finish()
Definition: program_generated.h:1711
EmbeddingOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1707
void add_input(::flatbuffers::Offset< tt::target::TensorRef > input)
Definition: program_generated.h:1698
void add_weight(::flatbuffers::Offset< tt::target::TensorRef > weight)
Definition: program_generated.h:1701
Definition: program_generated.h:1730
EmbeddingOp type
Definition: program_generated.h:1731
static constexpr auto Create
Definition: program_generated.h:1732
Definition: program_generated.h:1042
EmptyOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1070
void add_layout(tt::target::TensorLayout layout)
Definition: program_generated.h:1052
void add_shape(::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> shape)
Definition: program_generated.h:1046
::flatbuffers::Offset< EmptyOp > Finish()
Definition: program_generated.h:1074
void add_device(::flatbuffers::Offset< tt::target::DeviceRef > device)
Definition: program_generated.h:1058
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1044
void add_memcfg(::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg)
Definition: program_generated.h:1061
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1067
void add_strategy(::flatbuffers::Offset< tt::target::DistributionStrategy > strategy)
Definition: program_generated.h:1064
void add_dtype(tt::target::DataType dtype)
Definition: program_generated.h:1049
EmptyOp Table
Definition: program_generated.h:1043
void add_num_shards(uint32_t num_shards)
Definition: program_generated.h:1055
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1045
Definition: program_generated.h:1103
static constexpr auto Create
Definition: program_generated.h:1105
EmptyOp type
Definition: program_generated.h:1104
Definition: binary_generated.h:30
const ::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef > > * outputs() const
Definition: program_generated.h:3140
tt::target::DataType dtype() const
Definition: program_generated.h:788
uint32_t padding_width() const
Definition: program_generated.h:2380
uint32_t in_channels() const
Definition: program_generated.h:2350
const tt::target::ttnn::ReshapeOp * type_as_ReshapeOp() const
Definition: program_generated.h:2946
const ::flatbuffers::Vector< int64_t > * begins() const
Definition: program_generated.h:2065
const ::flatbuffers::Vector< uint32_t > * chip_ids() const
Definition: program_generated.h:535
const ::flatbuffers::String * name() const
Definition: program_generated.h:3134
uint32_t batch_size() const
Definition: program_generated.h:2356
DeallocateOpBuilder Builder
Definition: program_generated.h:2744
const tt::target::ttnn::SoftmaxOp * type_as_SoftmaxOp() const
Definition: program_generated.h:2934
ReshapeOpBuilder Builder
Definition: program_generated.h:1967
const tt::target::TensorRef * in() const
Definition: program_generated.h:687
uint32_t input_width() const
Definition: program_generated.h:2362
const tt::target::ttnn::MaxPool2dOp * type_as_MaxPool2dOp() const
Definition: program_generated.h:2952
const ::flatbuffers::Vector< int64_t > * ends() const
Definition: program_generated.h:2068
int32_t dim() const
Definition: program_generated.h:1897
const tt::target::ttnn::ReductionOp * type_as_ReductionOp() const
Definition: program_generated.h:2928
const tt::target::TensorRef * in1() const
Definition: program_generated.h:2172
uint32_t num_links() const
Definition: program_generated.h:2819
ClampOpParamsBuilder Builder
Definition: program_generated.h:1332
const tt::target::ttnn::EmbeddingOp * type_as_EmbeddingOp() const
Definition: program_generated.h:2931
const tt::target::ttnn::ConcatOp * type_as_ConcatOp() const
Definition: program_generated.h:2943
const tt::target::TensorRef * weight() const
Definition: program_generated.h:1676
const tt::target::TensorRef * in0() const
Definition: program_generated.h:614
const void * type() const
Definition: program_generated.h:2891
ProgramBuilder Builder
Definition: program_generated.h:3125
uint32_t dim() const
Definition: program_generated.h:2816
const tt::target::TensorRef * bias() const
Definition: program_generated.h:2175
bool ceil_mode() const
Definition: program_generated.h:2603
EltwiseOpBuilder Builder
Definition: program_generated.h:1436
uint32_t dilation_height() const
Definition: program_generated.h:2383
float start() const
Definition: program_generated.h:1233
const ::flatbuffers::Vector< int64_t > * step() const
Definition: program_generated.h:2071
const tt::target::ttnn::EmptyOp * type_as_EmptyOp() const
Definition: program_generated.h:2913
uint32_t channels() const
Definition: program_generated.h:2582
const ::flatbuffers::String * debug_info() const
Definition: program_generated.h:2964
int32_t dim1() const
Definition: program_generated.h:1822
const ::flatbuffers::Vector< int32_t > * shape() const
Definition: program_generated.h:1980
uint32_t kernel_height() const
Definition: program_generated.h:2365
const tt::target::ttnn::ClampOpParams * params_as_ClampOpParams() const
Definition: program_generated.h:1461
const tt::target::ttnn::SliceOp * type_as_SliceOp() const
Definition: program_generated.h:2949
const tt::target::ttnn::DeallocateOp * type_as_DeallocateOp() const
Definition: program_generated.h:2955
uint32_t kernel_width() const
Definition: program_generated.h:2368
uint32_t stride_width() const
Definition: program_generated.h:2374
int32_t dim0() const
Definition: program_generated.h:1819
const T * type_as() const
uint32_t num_shards() const
Definition: program_generated.h:1008
const tt::target::Dim2d * mesh() const
Definition: program_generated.h:532
uint32_t padding_height() const
Definition: program_generated.h:2377
const tt::target::ttnn::ToMemoryConfigOp * type_as_ToMemoryConfigOp() const
Definition: program_generated.h:2898
uint32_t dilation_width() const
Definition: program_generated.h:2386
const tt::target::ttnn::ToLayoutOp * type_as_ToLayoutOp() const
Definition: program_generated.h:2901
EmbeddingOpBuilder Builder
Definition: program_generated.h:1666
const tt::target::ttnn::ArangeOp * type_as_ArangeOp() const
Definition: program_generated.h:2961
const tt::target::ttnn::FromDeviceOp * type_as_FromDeviceOp() const
Definition: program_generated.h:2910
const ::flatbuffers::Vector< int64_t > * shape() const
Definition: program_generated.h:999
SliceOpBuilder Builder
Definition: program_generated.h:2050
GetDeviceOpBuilder Builder
Definition: program_generated.h:525
tt::target::TensorLayout layout() const
Definition: program_generated.h:690
const tt::target::ttnn::EltwiseOp * type_as_EltwiseOp() const
Definition: program_generated.h:2919
EmptyOpBuilder Builder
Definition: program_generated.h:987
const tt::target::ttnn::EltwiseOpWithFloatParams * params_as_EltwiseOpWithFloatParams() const
Definition: program_generated.h:1464
ToDeviceOpBuilder Builder
Definition: program_generated.h:847
const tt::target::ttnn::TransposeOp * type_as_TransposeOp() const
Definition: program_generated.h:2937
AllGatherOpBuilder Builder
Definition: program_generated.h:2802
bool keep_dim() const
Definition: program_generated.h:1580
uint32_t input_height() const
Definition: program_generated.h:2359
float fill_value() const
Definition: program_generated.h:1144
const tt::target::ttnn::FullOp * type_as_FullOp() const
Definition: program_generated.h:2916
::flatbuffers::Optional< tt::target::DataType > dtype() const
Definition: program_generated.h:693
ArangeOpBuilder Builder
Definition: program_generated.h:1222
ConcatOpBuilder Builder
Definition: program_generated.h:1884
uint32_t stride_height() const
Definition: program_generated.h:2371
FullOpBuilder Builder
Definition: program_generated.h:1132
const tt::target::ttnn::LinearOp * type_as_LinearOp() const
Definition: program_generated.h:2922
const tt::target::ttnn::TypecastOp * type_as_TypecastOp() const
Definition: program_generated.h:2904
int32_t dimension() const
Definition: program_generated.h:1749
const tt::target::MemoryConfigDesc * memcfg() const
Definition: program_generated.h:617
ToMemoryConfigOpBuilder Builder
Definition: program_generated.h:607
const tt::target::TensorRef * input() const
Definition: program_generated.h:1673
tt::target::ttnn::OpType type_type() const
Definition: program_generated.h:2888
Conv2dOpBuilder Builder
Definition: program_generated.h:2312
float parameter() const
Definition: program_generated.h:1394
const tt::target::ttnn::MatmulOp * type_as_MatmulOp() const
Definition: program_generated.h:2925
const ::flatbuffers::Vector<::flatbuffers::Offset< tt::target::ttnn::Operation > > * operations() const
Definition: program_generated.h:3143
bool Verify(::flatbuffers::Verifier &verifier) const
Definition: program_generated.h:541
const tt::target::ttnn::AllGatherOp * type_as_AllGatherOp() const
Definition: program_generated.h:2958
const tt::target::TensorRef * out() const
Definition: program_generated.h:620
const tt::target::ttnn::Conv2dOp * type_as_Conv2dOp() const
Definition: program_generated.h:2940
const ::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef > > * inputs() const
Definition: program_generated.h:1891
tt::target::ttnn::EltwiseOpType type() const
Definition: program_generated.h:1445
SoftmaxOpBuilder Builder
Definition: program_generated.h:1736
float max() const
Definition: program_generated.h:1341
MaxPool2dOpBuilder Builder
Definition: program_generated.h:2544
const ::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef > > * ins() const
Definition: program_generated.h:1448
ReductionOpBuilder Builder
Definition: program_generated.h:1559
uint32_t groups() const
Definition: program_generated.h:2389
OperationBuilder Builder
Definition: program_generated.h:2881
TransposeOpBuilder Builder
Definition: program_generated.h:1805
tt::target::ttnn::EltwiseOpParams params_type() const
Definition: program_generated.h:1454
const T * params_as() const
tt::target::ttnn::ReductionOpType type() const
Definition: program_generated.h:1568
uint32_t out_channels() const
Definition: program_generated.h:2353
ToLayoutOpBuilder Builder
Definition: program_generated.h:677
float end() const
Definition: program_generated.h:1236
const tt::target::DeviceRef * out() const
Definition: program_generated.h:538
bool force() const
Definition: program_generated.h:2753
const void * params() const
Definition: program_generated.h:1457
const tt::target::DebugInfo * debug_info() const
Definition: program_generated.h:3146
const ::flatbuffers::Vector< int32_t > * dim_arg() const
Definition: program_generated.h:1577
EltwiseOpWithFloatParamsBuilder Builder
Definition: program_generated.h:1389
float step() const
Definition: program_generated.h:1239
const tt::target::DistributionStrategy * strategy() const
Definition: program_generated.h:1017
const tt::target::DeviceRef * device() const
Definition: program_generated.h:699
LinearOpBuilder Builder
Definition: program_generated.h:2161
FromDeviceOpBuilder Builder
Definition: program_generated.h:928
float min() const
Definition: program_generated.h:1338
MatmulOpBuilder Builder
Definition: program_generated.h:2242
const tt::target::ttnn::ToDeviceOp * type_as_ToDeviceOp() const
Definition: program_generated.h:2907
const tt::target::ttnn::GetDeviceOp * type_as_GetDeviceOp() const
Definition: program_generated.h:2895
TypecastOpBuilder Builder
Definition: program_generated.h:778
Definition: program_generated.h:950
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:952
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:954
::flatbuffers::uoffset_t start_
Definition: program_generated.h:953
FromDeviceOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:960
FromDeviceOp Table
Definition: program_generated.h:951
::flatbuffers::Offset< FromDeviceOp > Finish()
Definition: program_generated.h:964
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:957
Definition: program_generated.h:981
static constexpr auto Create
Definition: program_generated.h:983
FromDeviceOp type
Definition: program_generated.h:982
Definition: program_generated.h:1170
void add_device(::flatbuffers::Offset< tt::target::DeviceRef > device)
Definition: program_generated.h:1174
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1172
void add_num_shards(uint32_t num_shards)
Definition: program_generated.h:1180
::flatbuffers::Offset< FullOp > Finish()
Definition: program_generated.h:1193
void add_strategy(::flatbuffers::Offset< tt::target::DistributionStrategy > strategy)
Definition: program_generated.h:1183
void add_fill_value(float fill_value)
Definition: program_generated.h:1177
FullOp Table
Definition: program_generated.h:1171
FullOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1189
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1173
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1186
Definition: program_generated.h:1216
FullOp type
Definition: program_generated.h:1217
static constexpr auto Create
Definition: program_generated.h:1218
Definition: program_generated.h:552
GetDeviceOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:565
::flatbuffers::uoffset_t start_
Definition: program_generated.h:555
::flatbuffers::Offset< GetDeviceOp > Finish()
Definition: program_generated.h:569
void add_chip_ids(::flatbuffers::Offset<::flatbuffers::Vector< uint32_t >> chip_ids)
Definition: program_generated.h:559
void add_mesh(const tt::target::Dim2d *mesh)
Definition: program_generated.h:556
GetDeviceOp Table
Definition: program_generated.h:553
void add_out(::flatbuffers::Offset< tt::target::DeviceRef > out)
Definition: program_generated.h:562
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:554
Definition: program_generated.h:588
GetDeviceOp type
Definition: program_generated.h:589
static constexpr auto Create
Definition: program_generated.h:590
Definition: program_generated.h:2195
LinearOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2211
void add_in0(::flatbuffers::Offset< tt::target::TensorRef > in0)
Definition: program_generated.h:2199
::flatbuffers::Offset< LinearOp > Finish()
Definition: program_generated.h:2215
::flatbuffers::uoffset_t start_
Definition: program_generated.h:2198
void add_in1(::flatbuffers::Offset< tt::target::TensorRef > in1)
Definition: program_generated.h:2202
void add_bias(::flatbuffers::Offset< tt::target::TensorRef > bias)
Definition: program_generated.h:2205
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:2208
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:2197
LinearOp Table
Definition: program_generated.h:2196
Definition: program_generated.h:2236
static constexpr auto Create
Definition: program_generated.h:2238
LinearOp type
Definition: program_generated.h:2237
Definition: program_generated.h:2270
::flatbuffers::uoffset_t start_
Definition: program_generated.h:2273
::flatbuffers::Offset< MatmulOp > Finish()
Definition: program_generated.h:2287
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:2280
MatmulOp Table
Definition: program_generated.h:2271
void add_in1(::flatbuffers::Offset< tt::target::TensorRef > in1)
Definition: program_generated.h:2277
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:2272
void add_in0(::flatbuffers::Offset< tt::target::TensorRef > in0)
Definition: program_generated.h:2274
MatmulOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2283
Definition: program_generated.h:2306
static constexpr auto Create
Definition: program_generated.h:2308
MatmulOp type
Definition: program_generated.h:2307
Definition: program_generated.h:2637
void add_input_width(uint32_t input_width)
Definition: program_generated.h:2656
::flatbuffers::uoffset_t start_
Definition: program_generated.h:2640
void add_input_height(uint32_t input_height)
Definition: program_generated.h:2653
MaxPool2dOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2689
void add_stride_height(uint32_t stride_height)
Definition: program_generated.h:2668
void add_ceil_mode(bool ceil_mode)
Definition: program_generated.h:2680
void add_dilation_width(uint32_t dilation_width)
Definition: program_generated.h:2677
void add_padding_height(uint32_t padding_height)
Definition: program_generated.h:2683
void add_kernel_height(uint32_t kernel_height)
Definition: program_generated.h:2662
MaxPool2dOp Table
Definition: program_generated.h:2638
void add_dilation_height(uint32_t dilation_height)
Definition: program_generated.h:2674
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:2641
void add_channels(uint32_t channels)
Definition: program_generated.h:2659
void add_padding_width(uint32_t padding_width)
Definition: program_generated.h:2686
::flatbuffers::Offset< MaxPool2dOp > Finish()
Definition: program_generated.h:2693
void add_kernel_width(uint32_t kernel_width)
Definition: program_generated.h:2665
void add_stride_width(uint32_t stride_width)
Definition: program_generated.h:2671
void add_batch_size(uint32_t batch_size)
Definition: program_generated.h:2650
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:2644
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:2639
void add_device(::flatbuffers::Offset< tt::target::DeviceRef > device)
Definition: program_generated.h:2647
Definition: program_generated.h:2738
MaxPool2dOp type
Definition: program_generated.h:2739
static constexpr auto Create
Definition: program_generated.h:2740
Definition: program_generated.h:425
static const OpType enum_value
Definition: program_generated.h:426
Definition: program_generated.h:3070
void add_type(::flatbuffers::Offset< void > type)
Definition: program_generated.h:3077
OperationBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:3083
::flatbuffers::Offset< Operation > Finish()
Definition: program_generated.h:3087
Operation Table
Definition: program_generated.h:3071
void add_debug_info(::flatbuffers::Offset<::flatbuffers::String > debug_info)
Definition: program_generated.h:3080
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:3072
::flatbuffers::uoffset_t start_
Definition: program_generated.h:3073
void add_type_type(tt::target::ttnn::OpType type_type)
Definition: program_generated.h:3074
Definition: program_generated.h:3106
static constexpr auto Create
Definition: program_generated.h:3108
Operation type
Definition: program_generated.h:3107
Definition: program_generated.h:3168
Program Table
Definition: program_generated.h:3169
::flatbuffers::uoffset_t start_
Definition: program_generated.h:3171
void add_name(::flatbuffers::Offset<::flatbuffers::String > name)
Definition: program_generated.h:3172
void add_debug_info(::flatbuffers::Offset< tt::target::DebugInfo > debug_info)
Definition: program_generated.h:3184
void add_inputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> inputs)
Definition: program_generated.h:3175
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:3170
void add_outputs(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::TensorRef >>> outputs)
Definition: program_generated.h:3178
::flatbuffers::Offset< Program > Finish()
Definition: program_generated.h:3191
ProgramBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:3187
void add_operations(::flatbuffers::Offset<::flatbuffers::Vector<::flatbuffers::Offset< tt::target::ttnn::Operation >>> operations)
Definition: program_generated.h:3181
Definition: program_generated.h:3214
static constexpr auto Create
Definition: program_generated.h:3216
Program type
Definition: program_generated.h:3215
Definition: program_generated.h:1597
ReductionOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1616
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:1604
void add_dim_arg(::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> dim_arg)
Definition: program_generated.h:1610
::flatbuffers::Offset< ReductionOp > Finish()
Definition: program_generated.h:1620
void add_type(tt::target::ttnn::ReductionOpType type)
Definition: program_generated.h:1601
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1599
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1600
ReductionOp Table
Definition: program_generated.h:1598
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1607
void add_keep_dim(bool keep_dim)
Definition: program_generated.h:1613
Definition: program_generated.h:1643
ReductionOp type
Definition: program_generated.h:1644
static constexpr auto Create
Definition: program_generated.h:1645
Definition: program_generated.h:1995
void add_shape(::flatbuffers::Offset<::flatbuffers::Vector< int32_t >> shape)
Definition: program_generated.h:2005
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1998
ReshapeOp Table
Definition: program_generated.h:1996
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1997
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:1999
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:2002
::flatbuffers::Offset< ReshapeOp > Finish()
Definition: program_generated.h:2012
ReshapeOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2008
Definition: program_generated.h:2031
static constexpr auto Create
Definition: program_generated.h:2033
ReshapeOp type
Definition: program_generated.h:2032
Definition: program_generated.h:2090
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:2092
SliceOp Table
Definition: program_generated.h:2091
void add_step(::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> step)
Definition: program_generated.h:2106
void add_begins(::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> begins)
Definition: program_generated.h:2100
::flatbuffers::Offset< SliceOp > Finish()
Definition: program_generated.h:2113
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:2094
::flatbuffers::uoffset_t start_
Definition: program_generated.h:2093
void add_ends(::flatbuffers::Offset<::flatbuffers::Vector< int64_t >> ends)
Definition: program_generated.h:2103
SliceOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:2109
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:2097
Definition: program_generated.h:2136
SliceOp type
Definition: program_generated.h:2137
static constexpr auto Create
Definition: program_generated.h:2138
Definition: program_generated.h:1763
void add_dimension(int32_t dimension)
Definition: program_generated.h:1773
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1766
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:1767
SoftmaxOp Table
Definition: program_generated.h:1764
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1765
::flatbuffers::Offset< SoftmaxOp > Finish()
Definition: program_generated.h:1780
SoftmaxOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1776
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1770
Definition: program_generated.h:1799
static constexpr auto Create
Definition: program_generated.h:1801
SoftmaxOp type
Definition: program_generated.h:1800
Definition: program_generated.h:881
ToDeviceOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:897
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:894
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:885
void add_device(::flatbuffers::Offset< tt::target::DeviceRef > device)
Definition: program_generated.h:888
::flatbuffers::Offset< ToDeviceOp > Finish()
Definition: program_generated.h:901
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:883
ToDeviceOp Table
Definition: program_generated.h:882
::flatbuffers::uoffset_t start_
Definition: program_generated.h:884
void add_memcfg(::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg)
Definition: program_generated.h:891
Definition: program_generated.h:922
ToDeviceOp type
Definition: program_generated.h:923
static constexpr auto Create
Definition: program_generated.h:924
Definition: program_generated.h:721
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:723
ToLayoutOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:743
ToLayoutOp Table
Definition: program_generated.h:722
::flatbuffers::Offset< ToLayoutOp > Finish()
Definition: program_generated.h:747
void add_layout(tt::target::TensorLayout layout)
Definition: program_generated.h:728
void add_dtype(tt::target::DataType dtype)
Definition: program_generated.h:731
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:725
void add_memcfg(::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg)
Definition: program_generated.h:734
void add_device(::flatbuffers::Offset< tt::target::DeviceRef > device)
Definition: program_generated.h:737
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:740
::flatbuffers::uoffset_t start_
Definition: program_generated.h:724
Definition: program_generated.h:772
static constexpr auto Create
Definition: program_generated.h:774
ToLayoutOp type
Definition: program_generated.h:773
Definition: program_generated.h:635
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:645
void add_memcfg(::flatbuffers::Offset< tt::target::MemoryConfigDesc > memcfg)
Definition: program_generated.h:642
::flatbuffers::uoffset_t start_
Definition: program_generated.h:638
ToMemoryConfigOp Table
Definition: program_generated.h:636
void add_in0(::flatbuffers::Offset< tt::target::TensorRef > in0)
Definition: program_generated.h:639
ToMemoryConfigOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:648
::flatbuffers::Offset< ToMemoryConfigOp > Finish()
Definition: program_generated.h:652
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:637
Definition: program_generated.h:671
ToMemoryConfigOp type
Definition: program_generated.h:672
static constexpr auto Create
Definition: program_generated.h:673
Definition: program_generated.h:1837
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:1839
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:1844
void add_dim0(int32_t dim0)
Definition: program_generated.h:1847
::flatbuffers::Offset< TransposeOp > Finish()
Definition: program_generated.h:1857
TransposeOp Table
Definition: program_generated.h:1838
TransposeOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:1853
::flatbuffers::uoffset_t start_
Definition: program_generated.h:1840
void add_dim1(int32_t dim1)
Definition: program_generated.h:1850
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:1841
Definition: program_generated.h:1878
TransposeOp type
Definition: program_generated.h:1879
static constexpr auto Create
Definition: program_generated.h:1880
Definition: program_generated.h:805
::flatbuffers::Offset< TypecastOp > Finish()
Definition: program_generated.h:822
::flatbuffers::uoffset_t start_
Definition: program_generated.h:808
void add_dtype(tt::target::DataType dtype)
Definition: program_generated.h:812
TypecastOpBuilder(::flatbuffers::FlatBufferBuilder &_fbb)
Definition: program_generated.h:818
TypecastOp Table
Definition: program_generated.h:806
::flatbuffers::FlatBufferBuilder & fbb_
Definition: program_generated.h:807
void add_out(::flatbuffers::Offset< tt::target::TensorRef > out)
Definition: program_generated.h:815
void add_in(::flatbuffers::Offset< tt::target::TensorRef > in)
Definition: program_generated.h:809
Definition: program_generated.h:841
TypecastOp type
Definition: program_generated.h:842
static constexpr auto Create
Definition: program_generated.h:843