2
0

dlc.fbs 938 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. namespace dlc;
  2. table NetDef {
  3. unk1: int;
  4. nodes: [Node];
  5. unk2: [int];
  6. unk3: [int];
  7. attributes: [Attribute];
  8. }
  9. table NetParam {
  10. weights: [Weights];
  11. }
  12. table Node {
  13. index: int;
  14. name: string;
  15. type: string;
  16. inputs: [string];
  17. outputs: [string];
  18. attributes: [Attribute];
  19. }
  20. table Weights {
  21. name: string;
  22. tensors: [Tensor];
  23. }
  24. table Tensor {
  25. name: string;
  26. shape: [int];
  27. data: TensorData;
  28. attributes: [Attribute];
  29. }
  30. table TensorData {
  31. data_type: ubyte;
  32. bytes: [ubyte];
  33. floats: [float];
  34. }
  35. table Attribute {
  36. name: string;
  37. type: ubyte;
  38. bool_value: bool;
  39. int32_value: int;
  40. uint32_value: uint;
  41. float32_value: float;
  42. string_value: string;
  43. unk6: [byte];
  44. byte_list: [byte];
  45. int32_list: [int];
  46. float32_list: [float];
  47. unk10: [byte];
  48. attributes: [Attribute];
  49. }
  50. enum Activation : uint {
  51. ReLU = 1,
  52. Sigmoid = 3
  53. }