- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestConst (0.07 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
%0 = "tf.VariableShape"(%arg0) : (tensor<1x2x!tf_type.resource<tensor<1x32x32x16xf32>>>) -> tensor<4xi32> func.return %0 : tensor<4xi32> } // ----- // Test invalid tf.Const func.func @testConst() -> tensor<f32> { // expected-error @+1 {{attribute 'value' failed to satisfy constraint: constant vector/tensor}} %0 = "tf.Const"() {T = "tfdtype$DT_FLOAT", value = 1.0 : f32} : () -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0)