Searched refs:biases_tensor (Results 1 – 1 of 1) sorted by relevance
503 TF_Tensor *kernel_tensor = NULL, *biases_tensor = NULL; in add_conv_layer() local563 biases_tensor = TF_AllocateTensor(TF_FLOAT, dims, dims_len, params->output_num * sizeof(float)); in add_conv_layer()564 memcpy(TF_TensorData(biases_tensor), params->biases, params->output_num * sizeof(float)); in add_conv_layer()565 TF_SetAttrTensor(op_desc, "value", biases_tensor, tf_model->status); in add_conv_layer()612 TF_DeleteTensor(biases_tensor); in add_conv_layer()