摘要: ##Tensor ###Initialization using data: data = [[1, 2],[3, 4]] x_data = torch.tensor(data) from another tensor: x_ones = torch.ones_like(x_data) x_rand 阅读全文
posted @ 2021-02-02 19:02 oklbuy331 阅读(19) 评论(0) 推荐(0)
摘要: ##数字 上次输出的表达式会赋给变量: _ >>> tax = 12.5 / 100 >>> price = 100.50 >>> price * tax 12.5625 >>> price + _ 113.0625 复数,后缀 j 或 J :3+5j ##字符串 字符串声明,用单引号*('……') 阅读全文
posted @ 2021-01-26 13:06 oklbuy331 阅读(148) 评论(0) 推荐(0)
摘要: ##1.1 Preprocessing ###1.1 part #2. Finite elements and Rigid elements ##2.1 Finite elements ###2.1.1 elment characteristic element-name convention T2 阅读全文
posted @ 2021-01-25 19:21 oklbuy331 阅读(69) 评论(0) 推荐(0)