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

Determinant

Determinant shows us information about the matrix that is helpful in linear equations and also helps in finding the inverse of a matrix.

For a given matrix X, the determinant is shown as follows:

The following example shows how to get a determinant using TensorFlow:

import tensorflow as tf
import numpy as np

x = np.array([[10.0, 15.0, 20.0], [0.0, 1.0, 5.0], [3.0, 5.0, 7.0]], dtype=np.float32)

det = tf.matrix_determinant(x)

with tf.Session() as sess:
print(sess.run(det))

The output of this is shown as follows:

-15.0
主站蜘蛛池模板: 曲水县| 资溪县| 家居| 富锦市| 曲沃县| 永泰县| 孝义市| 陆川县| 遂昌县| 磐安县| 奇台县| 永善县| 利津县| 三穗县| 阿鲁科尔沁旗| 平阳县| 罗平县| 崇明县| 珠海市| 巨鹿县| 都昌县| 清涧县| 淮北市| 新乡市| 康保县| 泰来县| 沙洋县| 瑞丽市| 绥芬河市| 新田县| 高雄县| 图片| 佛教| 甘南县| 叶城县| 峨眉山市| 镇坪县| 铜鼓县| 密山市| 彭州市| 汤阴县|