- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 113 for const_0d (0.16 sec)
-
tensorflow/compiler/jit/node_matchers_test.cc
ops::Placeholder(root.WithOpName("placeholder"), DT_FLOAT); Output const_0d = ops::Const(root.WithOpName("const_0d"), 42); Output const_2d = ops::Const(root.WithOpName("const_2d"), {{1, 2}, {4, 3}}); EXPECT_THAT(const_0d.node(), NodeWith(ConstantValue(42))); EXPECT_THAT(const_0d.node(), NodeWith(ConstantValue(42), Name("const_0d"))); EXPECT_THAT(const_2d.node(), NodeWith(ConstantValue({{1, 2}, {4, 3}})));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 14:43:57 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 91.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/components/tf_to_stablehlo.mlir
// CHECK-DAG: %[[CONST_0:.*]] = stablehlo.constant dense<[{{.*}}]> : tensor<2xf32> // CHECK-DAG: %[[CONST_1:.*]] = stablehlo.constant dense<[{{.*}}]> : tensor<2x3x3x2xf32> // CHECK-DAG: %[[CONV:.*]] = stablehlo.convolution(%[[ARG]], %[[CONST_1]]) {{.*}} : (tensor<1x3x4x3xf32>, tensor<2x3x3x2xf32>) -> tensor<1x3x2x2xf32> // CHECK-DAG: %[[BROADCAST:.*]] = stablehlo.broadcast_in_dim %[[CONST_0]], dims = [3] : (tensor<2xf32>) -> tensor<1x3x2x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 20:05:12 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/fallback_to_flex_ops_default.mlir
// CHECK-DAG: %[[CONST_0:.*]] = "tf.Const"() <{value = dense<{{.*}}> : tensor<1x1x3x2xf32>}> : () -> tensor<1x1x3x2xf32> // CHECK-DAG: %[[CONST_1:.*]] = "tf.Const"() <{value = dense<-1.000000e+00> : tensor<f32>}> : () -> tensor<f32> // CHECK-DAG: %[[CONST_2:.*]] = "tf.Const"() <{value = dense<1.000000e+00> : tensor<f32>}> : () -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir
%3 = stablehlo.add %2, %1 : tensor<1x3xf32> func.return %3: tensor<1x3xf32> } // CHECK: %[[CONST_0:.*]] = stablehlo.constant dense<2.000000e+00> // CHECK: %[[CONST_1:.*]] = stablehlo.constant dense<2.000000e+00> // CHECK: %[[XLA_CALL_MODULE:.*]] = "tf.XlaCallModule"(%arg0, %[[CONST_0]], %[[CONST_1]]) // CHECK: return %[[XLA_CALL_MODULE:.*]] : tensor<1x3xf32> // CHECK: }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 49.8K bytes - Viewed (0) -
tensorflow/cc/ops/const_op.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/cc/ops/const_op.h" #include "tensorflow/core/framework/types.h" namespace tensorflow { namespace ops { namespace { template <typename T> Output ConstHelper(const Scope& scope, const T& value, DataType dtype) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 03 20:58:54 UTC 2017 - 2.7K bytes - Viewed (0) -
tensorflow/cc/ops/const_op.h
#include <vector> #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/core/graph/node_builder.h" namespace tensorflow { namespace ops { /// @defgroup const_op Const Op /// @{ Output Const(const Scope& scope, const Input::Initializer& val); Output ConstFromProto(const Scope& scope, const TensorProto& proto);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 17 09:17:01 UTC 2020 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util_test.cc
// Build the graph: // "add" = "const_0" + "const_1" // "identity" = "add" tensorflow::Scope s = tensorflow::Scope::NewRootScope(); Output const_0 = ops::Const(s.WithOpName("const_0"), 1, {2}); Output const_1 = ops::Const(s.WithOpName("const_1"), 2, {2}); Output add = ops::Add(s.WithOpName("add"), const_0, const_1); Output identity = ops::Identity(s.WithOpName("identity"), add);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 05 22:06:22 UTC 2019 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/preprocess_op_weight_only.mlir
} // PerTensor-LABEL: func @depthwise_conv // PerTensor-DAG: %[[CONST_0:.*]] = arith.constant dense<0.000000e+00> : tensor<6xf32> // PerTensor: %[[CONST_1:.*]] = arith.constant dense // PerTensor-NOT: tensor<2x3x1x6xf32> // PerTensor-SAME: tensor<2x3x3x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-func-attr.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 11 19:14:04 UTC 2020 - 2.5K bytes - Viewed (0)