Size: 631 bytes.


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// cs/apps/trycopilot.ai/protos/matrix.proto.hh
// cs/apps/trycopilot.ai/protos/matrix.proto.hh
// cs/apps/trycopilot.ai/protos/matrix.proto.hh
#ifndef CS_APPS_TRYCOPILOT_AI_PROTOS_MATRIX_PROTO_HH
#define CS_APPS_TRYCOPILOT_AI_PROTOS_MATRIX_PROTO_HH

#include <string>
#include <vector>

#include "cs/net/proto/proto.hh"

namespace cs::apps::trycopilotai::protos {

// 2D matrix payload.
DECLARE_PROTO(Matrix2D) {
  // Matrix shape dims.
  std::vector<int> shape;
  // Matrix values.
  std::vector<std::vector<float>> data;
};

}  // namespace cs::apps::trycopilotai::protos

#endif  // CS_APPS_TRYCOPILOT_AI_PROTOS_MATRIX_PROTO_HH
v0 (commit) © 2025 @p13i.io | Load balancer proxied to: cs-code-viewer-3:8080 in 2ms.