Home
last modified time | relevance | path

Searched refs:xnn_value (Results 1 – 4 of 4) sorted by relevance

/external/XNNPACK/src/
Dsubgraph.c42 subgraph->values = xnn_allocate_zero_memory(external_value_ids * sizeof(struct xnn_value)); in xnn_create_subgraph()
44 …"failed to allocate %zu bytes for subgraph values", external_value_ids * sizeof(struct xnn_value)); in xnn_create_subgraph()
62 struct xnn_value* xnn_subgraph_new_internal_value(xnn_subgraph_t subgraph) in xnn_subgraph_new_internal_value()
64 struct xnn_value* values = subgraph->values; in xnn_subgraph_new_internal_value()
70 values = xnn_reallocate_memory(values, new_capacity * sizeof(struct xnn_value)); in xnn_subgraph_new_internal_value()
73 capacity * sizeof(struct xnn_value)); in xnn_subgraph_new_internal_value()
77 memset(values + size, 0, (new_capacity - size) * sizeof(struct xnn_value)); in xnn_subgraph_new_internal_value()
82 struct xnn_value* new_value = values + size; in xnn_subgraph_new_internal_value()
93 void xnn_value_clear(struct xnn_value* value) { in xnn_value_clear()
96 memset(value, 0, sizeof(struct xnn_value)); in xnn_value_clear()
[all …]
Dtensor.c56 struct xnn_value* value = subgraph->values + external_id; in xnn_define_tensor_value()
80 const struct xnn_value* value = subgraph->values + value_id; in xnn_tensor_get_size()
Druntime.c83 struct xnn_value* values = subgraph->values; in xnn_create_runtime_v2()
857 const struct xnn_value* value = &subgraph->values[i]; in xnn_create_runtime_v2()
885 const struct xnn_value* value = &subgraph->values[i]; in xnn_create_runtime_v2()
/external/XNNPACK/src/xnnpack/
Dsubgraph.h41 struct xnn_value { struct
248 struct xnn_value* values;
272 struct xnn_value* xnn_subgraph_new_internal_value(xnn_subgraph_t subgraph);
285 void xnn_value_clear(struct xnn_value* value);