| 20 | } |
| 21 | |
| 22 | std::vector<GraphNode*> GetXBlockInputs(const std::string& name, int depth) { |
| 23 | std::vector<GraphNode*> inst_nodes; |
| 24 | for (int i = 0; i < depth; ++i) { |
| 25 | auto* inst_node = new InstanceNode( |
| 26 | name + std::to_string(i), Shape(BATCH_PLACEHOLDER, 0), TENSOR_TYPE_CSR); |
| 27 | inst_nodes.emplace_back(inst_node); |
| 28 | } |
| 29 | return inst_nodes; |
| 30 | } |
| 31 | |
| 32 | // Y_UNSUPVISED_NAME |
| 33 | GraphNode* GetYUnsup(const std::string& name, int label_size) { |
no outgoing calls
no test coverage detected