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

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))
主站蜘蛛池模板: 丹凤县| 长葛市| 泗水县| 临猗县| 梅河口市| 宾川县| 城市| 隆回县| 内黄县| 盖州市| 三原县| 龙泉市| 阿巴嘎旗| 莲花县| 高邮市| 武隆县| 利辛县| 子长县| 鸡泽县| 婺源县| 电白县| 西乌| 定南县| 新丰县| 澄城县| 彩票| 壶关县| 永安市| 闻喜县| 海兴县| 盐源县| 德庆县| 东莞市| 洛隆县| 犍为县| 吉木乃县| 囊谦县| 延长县| 东阿县| 桐庐县| 辉南县|