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

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))
主站蜘蛛池模板: 嘉善县| 武鸣县| 华坪县| 滨海县| 梁河县| 香格里拉县| 库尔勒市| 莫力| 榕江县| 曲沃县| 绥江县| 友谊县| 九龙县| 运城市| 科技| 宁国市| 凌源市| 克拉玛依市| 西畴县| 顺昌县| 敖汉旗| 南平市| 古浪县| 马鞍山市| 苏州市| 邯郸县| 沈阳市| 沾益县| 理塘县| 林芝县| 乌鲁木齐市| 锦州市| 正定县| 宜川县| 广州市| 舒兰市| 大关县| 长岭县| 佳木斯市| 宝坻区| 林芝县|