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

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))
主站蜘蛛池模板: 义乌市| 芦山县| 习水县| 松滋市| 泸水县| 宝应县| 股票| 三门峡市| 陈巴尔虎旗| 会宁县| 定安县| 庆阳市| 德令哈市| 平山县| 大名县| 黎城县| 武夷山市| 陇西县| 正安县| 麻江县| 湛江市| 旌德县| 鄂尔多斯市| 土默特右旗| 西丰县| 白沙| 易门县| 大渡口区| 平谷区| 北碚区| 桑植县| 曲沃县| 琼海市| 长海县| 蒲城县| 郯城县| 阿尔山市| 同德县| 晋中市| 徐闻县| 黄陵县|