Searched refs:num_constant (Results 1 – 4 of 4) sorted by relevance
32 int num_constant = 0; in gpir_lower_const() local39 num_constant++; in gpir_lower_const()44 if (num_constant) { in gpir_lower_const()45 union fi *constant = ralloc_array(comp->prog, union fi, num_constant); in gpir_lower_const()50 comp->prog->constant_size = num_constant * sizeof(union fi); in gpir_lower_const()
342 uint32_t num_constant,
2819 uint32_t num_constant, in vrend_set_constants() argument2828 if (consts->num_allocated_consts < num_constant) { in vrend_set_constants()2830 consts->consts = malloc(num_constant * sizeof(float)); in vrend_set_constants()2833 consts->num_allocated_consts = num_constant; in vrend_set_constants()2836 memcpy(consts->consts, data, num_constant * sizeof(unsigned int)); in vrend_set_constants()2837 consts->num_consts = num_constant; in vrend_set_constants()
633 num_constant = constant_op.constant(num)635 tf_ans = math_ops.linspace_nd(start, stop, num_constant, axis=axis)