| 406 | } |
| 407 | |
| 408 | JITExecutor::NodeProp* JITExecutor::do_make_node_prop() const { |
| 409 | auto ret = Super::do_make_node_prop(); |
| 410 | using DepType = NodeProp::DepType; |
| 411 | SmallVector<DepType> dt(input().size()); |
| 412 | auto&& placeholders = internal_graph().placeholders(); |
| 413 | for (size_t i = 0; i < dt.size(); ++i) { |
| 414 | dt[i] = placeholders[i]->is_host_value_shape_input() ? DepType::HOST_VALUE |
| 415 | : DepType::DEV_VALUE; |
| 416 | } |
| 417 | ret->reset_dep_type(input(), dt); |
| 418 | return ret; |
| 419 | } |
| 420 | |
| 421 | megdnn::TensorShape JITExecutor::broadcasted_input_shape() const { |
| 422 | megdnn::TensorShapeArray inp_shps; |
nothing calls this directly
no test coverage detected