官术网_书友最值得收藏!

Inverse matrix

The matrix inverse of I is denoted as . Consider the following equation; to solve it using inverse and different values of b, there can be multiple solutions for x. Note the property:

The following example shows how to calculate the inverse of a matrix using the matrix_inverse operation:

import tensorflow as tf

mat = tf.constant([[2, 3, 4], [5, 6, 7], [8, 9, 10]], dtype=tf.float32)
print(mat)

inv_mat = tf.matrix_inverse(tf.transpose(mat))

with tf.Session() as sess:
print(sess.run(inv_mat))
主站蜘蛛池模板: 岗巴县| 崇文区| 瑞丽市| 林口县| 垦利县| 卢湾区| 建瓯市| 五台县| 平塘县| 浦城县| 温州市| 青海省| 陕西省| 东乡县| 海伦市| 通渭县| 威海市| 都兰县| 黄山市| 孝感市| 吴堡县| 昆山市| 剑阁县| 达日县| 浦江县| 通州区| 烟台市| 嘉兴市| 江都市| 丹阳市| 高淳县| 临武县| 通海县| 清苑县| 东港市| 普陀区| 河东区| 乌兰县| 盐源县| 宣威市| 哈密市|