Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 113 for const_0d (0.18 sec)

  1. src/internal/types/testdata/check/const0.go

    // Copyright 2012 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // constant declarations
    
    package const0
    
    import "unsafe"
    
    // constants declarations must be initialized by constants
    var x = 0
    const c0 = x /* ERROR "not constant" */
    
    // typed constants must have constant types
    const _ interface /* ERROR "invalid constant type" */ {} = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_with_control_flow.mlir

        %Const_3, %ctl_4 = Const [%ctl_2] name("while/Less/y") {dtype = i32, value = dense<10> : tensor<i32>} : () -> (tensor<i32>)
        %Less, %ctl_5 = Less(%Merge#0, %Const_3) name("while/Less") {T = i32} : (tensor<*xi32>, tensor<i32>) -> (tensor<*xi1>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 18:31:38 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir

    // CHECK-DAG: %[[CONST_0:.*]] = "tf.Const"() <{value = dense<5.000000e-01> : tensor<2xf32>}> : () -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir

      func.return
    }
    
    // CHECK:      tf_executor.island
    // CHECK:      [[CONST_0:%.+]] = "tf.Const"
    // CHECK-SAME: value = dense<1> : tensor<i64>
    // CHECK:      tf_executor.yield [[CONST_0]]
    // CHECK:      tf_executor.island
    // CHECK:      [[CONST_1:%.+]] = "tf.Const"
    // CHECK-SAME: value = dense<2> : tensor<i64>
    // CHECK:      tf_executor.yield [[CONST_1]]
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // CHECK-DAG: %[[CONST_0:.+]] = arith.constant dense<[1, 14, 14, 4]> : tensor<4xi32>
    // CHECK-DAG: %[[CONST_1:.*]] = "tfl.pseudo_const"() <{value = dense<{{\[\[0, 0\], \[1, 1\], \[1, 1\], \[0, 0\]\]}}> : tensor<4x2xi32>}> : () -> tensor<4x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

        //        |         |
        //      Const_0    Const_1
        //
        const float const0_val[] = {1.0, 2.0, 3.0, 4.0};
        const float const1_val[] = {1.0, 0.0, 0.0, 1.0};
        TF_Operation* const0 = FloatConst2x2(graph_, s_, const0_val, "Const_0");
        TF_Operation* const1 = FloatConst2x2(graph_, s_, const1_val, "Const_1");
        TF_Operation* matmul = MatMul(graph_, s_, const0, const1, "MatMul");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/func_list_attr.mlir

        tf_executor.fetch %1#0 : tensor<10xf32>
      }
      func.return %0 : tensor<10xf32>
    }
    
    // CHECK-DAG: name: "bar"
    func.func @bar() -> tensor<10xf32> {
      %0 = tf_executor.graph {
        %1:2 = tf_executor.island wraps "tf.Const"() {device = "", dtype = "tfdtype$DT_FLOAT", value = dense<2.000000e+00> : tensor<10xf32>} : () -> tensor<10xf32> loc("const_2")
        tf_executor.fetch %1#0 : tensor<10xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/fold_constant_transpose.mlir

      %1 = stablehlo.transpose %0, dims = [0] : (tensor<2xf32>) -> tensor<2xf32>
      return %1 : tensor<2xf32>
    }
    // CHECK-DAG: %[[CONST_0:.+]] = stablehlo.constant dense<[0.000000e+00, 1.000000e+00]> : tensor<2xf32>
    // CHECK-NOT: transpose
    // CHECK: return %[[CONST_0]] : tensor<2xf32>
    
    // -----
    
    // CHECK-LABEL: transpose_simple_2d
    func.func @transpose_simple_2d() -> tensor<3x2xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 08:06:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

      TF_ASSERT_OK(IncreaseDynamismForAutoJit(root, &result));
    
      // Check that the new constants have control dependencies.
      Node* const_0 = testing::FindNodeByName(result.get(),
                                              "slice/static_shaped_slice/const_0");
      EXPECT_NE(const_0, nullptr);
      EXPECT_THAT(const_0,
                  NodeWith(Op("Const"), CtrlDeps(NodeWith(Op("Placeholder"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu_update_embedding_enqueue_op_inputs.mlir

      // CHECK: "tf.EnqueueTPUEmbeddingSparseTensorBatch"(%[[ARG_0]], %[[ARG_1]], %[[ARG_2]], %[[ARG_3]], %[[ARG_4]], %[[ARG_5]], %[[CONST_0]], %[[CONST_0]], %[[CONST_0]], %[[CONST_MODE]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
Back to top