Searched refs:is_bias (Results 1 – 1 of 1) sorted by relevance
59 bool is_bias = dim2_size == 1; in CopySubArrayToArray() local60 Shape shape = is_bias ? Shape({dim1_size}) : Shape({dim1_size, dim2_size}); in CopySubArrayToArray()66 CopyArrayData(orig_buffer, is_bias ? 1 : original_array.shape().dims(1), in CopySubArrayToArray()75 bool is_bias = sub_array.shape().dims().size() == 1; in CopyArrayToSubArray() local77 int dim2_copy_size = is_bias ? 1 : sub_array.shape().dims(1); in CopyArrayToSubArray()82 is_bias ? 1 : tensor_stride, start_idx1, start_idx2, in CopyArrayToSubArray()