Home
last modified time | relevance | path

Searched refs:ReadVariableOp (Results 1 – 25 of 110) sorted by relevance

12345

/external/tensorflow/tensorflow/compiler/mlir/lite/tests/end2end/
Dback2back_fake_quant.pbtxt31 name: "sequential/quant_dense/MatMul/ReadVariableOp/resource"
58 name: "sequential/quant_dense/MatMul/ReadVariableOp"
60 input: "sequential/quant_dense/MatMul/ReadVariableOp/resource"
69 name: "sequential/quant_dense/MatMul/kquant/FakeQuantWithMinMaxVars/ReadVariableOp/resource"
90 name: "sequential/quant_dense/MatMul/kquant/FakeQuantWithMinMaxVars/ReadVariableOp"
92 input: "sequential/quant_dense/MatMul/kquant/FakeQuantWithMinMaxVars/ReadVariableOp/resource"
135 input: "sequential/quant_dense/MatMul/ReadVariableOp"
136 input: "sequential/quant_dense/MatMul/kquant/FakeQuantWithMinMaxVars/ReadVariableOp"
155 input: "sequential/quant_dense/MatMul/ReadVariableOp"
197 name: "sequential/quant_dense/BiasAdd/ReadVariableOp/resource"
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dtf_saved_model_deduplicate_bound_input_bindings.mlir21 // CHECK: "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
22 // CHECK: "tf.ReadVariableOp"(%arg1) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
23 // CHECK: "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
24 // CHECK: "tf.ReadVariableOp"(%arg2) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
25 // CHECK: "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
26 %val0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
27 %val1 = "tf.ReadVariableOp"(%arg1) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
28 %val2 = "tf.ReadVariableOp"(%arg2) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
29 %val3 = "tf.ReadVariableOp"(%arg3) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
30 %val4 = "tf.ReadVariableOp"(%arg4) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
Dtpu_resource_partitioning.mlir8 // CHECK-DAG: [[READ0:%.+]] = "tf.ReadVariableOp"([[ARG0]])
9 // CHECK-DAG: [[READ1:%.+]] = "tf.ReadVariableOp"([[ARG1]])
14 %1 = "tf.ReadVariableOp"(%0) : (tensor<!tf.resource<tensor<i32>>>) -> tensor<i32>
29 // CHECK-DAG: [[READ0:%.+]] = "tf.ReadVariableOp"([[ARG0]])
30 // CHECK-DAG: [[READ1:%.+]] = "tf.ReadVariableOp"([[ARG1]])
35 %1 = "tf.ReadVariableOp"(%0) : (tensor<!tf.resource<tensor<i32>>>) -> tensor<i32>
50 %1 = "tf.ReadVariableOp"(%0) : (tensor<!tf.resource<tensor<i32>>>) -> tensor<i32>
54 %4 = "tf.ReadVariableOp"(%3) : (tensor<!tf.resource<tensor<i32>>>) -> tensor<i32>
62 %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<i32>>>) -> tensor<i32>
72 %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<i32>>>) -> tensor<i32>
[all …]
Dtpu-merge-variables-with-execute.mlir16 // CHECK-NEXT: %[[READ_2:.*]] = "tf.ReadVariableOp"(%[[ARG_2]])
17 %read0 = "tf.ReadVariableOp"(%id0) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
18 %read1 = "tf.ReadVariableOp"(%arg1) : (tensor<*x!tf.resource<tensor<64xf32>>>) -> tensor<64xf32>
19 %read2 = "tf.ReadVariableOp"(%arg2) : (tensor<*x!tf.resource<tensor<16xf32>>>) -> tensor<16xf32>
63 // CHECK-NEXT: %[[READ_0:.*]] = "tf.ReadVariableOp"(%[[ARG_0]])
64 %read0 = "tf.ReadVariableOp"(%arg0) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
82 %read1 = "tf.ReadVariableOp"(%r) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
118 // CHECK-NEXT: %[[READ_0:.*]] = "tf.ReadVariableOp"(%[[ARG_0]])
119 %read0 = "tf.ReadVariableOp"(%arg0) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
120 // CHECK-NEXT: %[[READ_5:.*]] = "tf.ReadVariableOp"(%[[ARG_5]])
[all …]
Dtf_saved_model_freeze_global_tensors.mlir13 %val = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
30 %val = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
31 // CHECK: "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
56 // Test case: Fail if bound input user is not ReadVariableOp
84 %val = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
100 … %0 = "tf.ReadVariableOp"(%arg1) {device = ""} : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
103 … %1 = "tf.ReadVariableOp"(%arg2) {device = ""} : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
Dpromote_resources_to_args.mlir7 // CHECK-NOT: "tf.ReadVariableOp"
13 %2 = "tf.ReadVariableOp"(%1) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
39 // CHECK-NOT: "tf.ReadVariableOp"
47 %2 = "tf.ReadVariableOp"(%1) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
50 %5 = "tf.ReadVariableOp"(%4) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
62 // CHECK-NOT: "tf.ReadVariableOp"
70 %2 = "tf.ReadVariableOp"(%1) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
73 %5 = "tf.ReadVariableOp"(%4) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
92 %2 = "tf.ReadVariableOp"(%1) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
93 %3 = "tf.ReadVariableOp"(%1) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
[all …]
Dtf_side_effect.mlir5 %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
6 %1 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
9 // CHECK: %0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
Dtf_saved_model_lift_variables.mlir10 …%1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf.resource<tensor<100x50xf32>>>) -> tensor<…
12 …%3 = "tf.ReadVariableOp"(%2) {device = ""} : (tensor<!tf.resource<tensor<50xf32>>>) -> tensor<50xf…
34 …%1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf.resource<tensor<100x50xf32>>>) -> tensor<…
36 …%3 = "tf.ReadVariableOp"(%2) {device = ""} : (tensor<!tf.resource<tensor<50xf32>>>) -> tensor<50xf…
44 …%1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf.resource<tensor<100x50xf32>>>) -> tensor<…
46 …%3 = "tf.ReadVariableOp"(%2) {device = ""} : (tensor<!tf.resource<tensor<50xf32>>>) -> tensor<50xf…
71 …%0 = "tf.ReadVariableOp"(%arg0) {device = ""} : (tensor<!tf.resource<tensor<*xf32>>>) -> tensor<*x…
72 …%1 = "tf.ReadVariableOp"(%arg1) {device = ""} : (tensor<!tf.resource<tensor<*xf32>>>) -> tensor<*x…
Dresource_op_lifting.mlir11 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"(%[[RES_HANDLE]])
19 …%2 = "tf.ReadVariableOp"(%0) {dtype = i32} : (tensor<*x!tf.resource<tensor<*xi32>>>) -> tensor<*xi…
64 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"(%[[RES_HANDLE]])
73 …%2 = "tf.ReadVariableOp"(%0) {dtype = i32} : (tensor<*x!tf.resource<tensor<*xi32>>>) -> tensor<*xi…
94 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"(%[[RES_HANDLE]])
104 …%2 = "tf.ReadVariableOp"(%0) {dtype = i32} : (tensor<*x!tf.resource<tensor<*xi32>>>) -> tensor<1xi…
107 …%4 = "tf.ReadVariableOp"(%0) {dtype = i32} : (tensor<*x!tf.resource<tensor<*xi32>>>) -> tensor<1xi…
128 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"(%[[RES_HANDLE]])
129 …%2 = "tf.ReadVariableOp"(%1) {dtype = i32} : (tensor<*x!tf.resource<tensor<*xi32>>>) -> tensor<*xi…
157 // CHECK: %[[READ:.*]] = "tf.ReadVariableOp"(%[[VH]])
[all …]
Ddecompose_resource_ops.mlir11 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"
34 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"
55 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"
78 // CHECK: %[[RES_READ_VAL:[0-9]*]] = "tf.ReadVariableOp"(%[[RES_HANDLE]])
102 // CHECK: [[ACCUM:%.*]] = "tf.ReadVariableOp"([[ACCUM_HANDLE]])
107 // CHECK: [[VAR:%.*]] = "tf.ReadVariableOp"([[VAR_HANDLE]])
128 // CHECK: [[ACCUM:%.*]] = "tf.ReadVariableOp"([[ACCUM_HANDLE]])
136 // CHECK: [[VAR:%.*]] = "tf.ReadVariableOp"([[VAR_HANDLE]])
157 …// CHECK: %[[ACCUM:[0-9]*]] = "tf.ReadVariableOp"(%[[ACCUM_HANDLE]]) : (tensor<*x!tf.resource<tens…
163 // CHECK: %[[VAR:[0-9]*]] = "tf.ReadVariableOp"(%[[VAR_HANDLE]])
[all …]
Dbreakup-islands.mlir176 … %read0 = "tf.ReadVariableOp"(%arg0) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
178 … %read1 = "tf.ReadVariableOp"(%arg1) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
180 …%read2 = "tf.ReadVariableOp"(%var_handle) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32x…
183 … %read3 = "tf.ReadVariableOp"(%arg0) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
193 // CHECK: %[[READ0:.*]], %[[READ0_CONTROL:.*]] = tf_executor.island wraps "tf.ReadVariableOp"(%ar…
195 // CHECK: %[[READ1:.*]], %[[READ1_CONTROL:.*]] = tf_executor.island wraps "tf.ReadVariableOp"(%ar…
197 // CHECK: %[[READ2:.*]], %[[READ2_CONTROL:.*]] = tf_executor.island wraps "tf.ReadVariableOp"(%[[…
200 … %[[READ3_CONTROL:.*]] = tf_executor.island(%[[ASSIGN2_CONTROL]]) wraps "tf.ReadVariableOp"(%arg0)
210 … %read0 = "tf.ReadVariableOp"(%vh0) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
213 … %read1 = "tf.ReadVariableOp"(%vh1) : (tensor<*x!tf.resource<tensor<32xf32>>>) -> tensor<32xf32>
[all …]
Dtf_saved_model_lift_variables_invalid_session.mlir10 …%1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf.resource<tensor<100x50xf32>>>) -> tensor<…
12 …%3 = "tf.ReadVariableOp"(%2) {device = ""} : (tensor<!tf.resource<tensor<50xf32>>>) -> tensor<50xf…
27 …%1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf.resource<tensor<100x50xf32>>>) -> tensor<…
29 …%3 = "tf.ReadVariableOp"(%2) {device = ""} : (tensor<!tf.resource<tensor<50xf32>>>) -> tensor<50xf…
Dtpu-resource-read-for-write.mlir6 // CHECK-NEXT: [[READ:%.*]] = "tf.ReadVariableOp"([[ARG2]])
24 // CHECK-COUNT-1: tf.ReadVariableOp
25 %0 = "tf.ReadVariableOp"(%arg2) : (tensor<*x!tf.resource<tensor<i32>>>) -> tensor<i32>
39 // CHECK-NOT: tf.ReadVariableOp
54 // CHECK-NOT: tf.ReadVariableOp
Dtensor_array_ops_decomposition.mlir17 // CHECK: %[[READ_VAR:.*]] = "tf.ReadVariableOp"(%[[VAR]])
23 // CHECK: %[[READ_VAR2:.*]] = "tf.ReadVariableOp"(%[[VAR]])
110 …// CHECK: %[[READ:.*]] = "tf.ReadVariableOp"(%[[VAR]]) : (tensor<!tf.resource<tensor<5x3xf32>>>) -…
117 …// CHECK: %[[READ2:.*]] = "tf.ReadVariableOp"(%[[VAR]]) : (tensor<!tf.resource<tensor<5x3xf32>>>) …
135 …// CHECK: %[[READ:.*]] = "tf.ReadVariableOp"(%[[VAR]]) : (tensor<!tf.resource<tensor<5x3xf32>>>) -…
139 …// CHECK: %[[READ2:.*]] = "tf.ReadVariableOp"(%[[VAR]]) : (tensor<!tf.resource<tensor<5x3xf32>>>) …
158 …// CHECK: %[[READ:.*]] = "tf.ReadVariableOp"(%[[VAR]]) : (tensor<!tf.resource<tensor<5x3xf32>>>) -…
162 …// CHECK: %[[READ2:.*]] = "tf.ReadVariableOp"(%[[VAR]]) : (tensor<!tf.resource<tensor<5x3xf32>>>) …
212 …// CHECK: %[[READ1:.*]] = "tf.ReadVariableOp"(%[[GVAR1]]) : (tensor<!tf.resource<tensor<5x3xf32>>>…
219 …// CHECK: %[[READ2:.*]] = "tf.ReadVariableOp"(%[[GVAR1]]) : (tensor<!tf.resource<tensor<5x3xf32>>>…
[all …]
Dtf_saved_model_freeze_global_tensors_mutable_tensors.mlir11 // CHECK: "tf.ReadVariableOp"
12 … %0 = "tf.ReadVariableOp"(%arg0) {device = ""} : (tensor<!tf.resource<tensor<f32>>>) -> tensor<f32>
/external/tensorflow/tensorflow/compiler/jit/tests/
Dkeras_imagenet_main_graph_mode.pbtxt9 s: "loc:@G4SM2HGMB5/Read/ReadVariableOp"
59 s: "loc:@HK0SX0WHBZ/Read/ReadVariableOp"
18588 name: "G4SM2HGMB5/Read/ReadVariableOp"
18589 op: "ReadVariableOp"
18600 name: "HK0SX0WHBZ/Read/ReadVariableOp"
18601 op: "ReadVariableOp"
18612 name: "bn2a_branch1_1/AssignMovingAvg/ReadVariableOp"
18613 op: "ReadVariableOp"
18624 name: "bn2a_branch1_1/AssignMovingAvg_1/ReadVariableOp"
18625 op: "ReadVariableOp"
[all …]
Dkeras_imagenet_main.pbtxt18122 name: "fc1000_1/BiasAdd/ReadVariableOp"
18123 op: "ReadVariableOp"
18134 name: "loss_1/fc1000/bias/Regularizer/Square/ReadVariableOp"
18135 op: "ReadVariableOp"
18146 name: "fc1000_1/MatMul/ReadVariableOp"
18147 op: "ReadVariableOp"
18158 name: "loss_1/fc1000/kernel/Regularizer/Square/ReadVariableOp"
18159 op: "ReadVariableOp"
18171 op: "ReadVariableOp"
18182 name: "bn5a_branch1_1/ReadVariableOp"
[all …]
Dkeras_imagenet_main.golden_summary12 ReadVariableOp 2
37 ReadVariableOp 538
57 ReadVariableOp 106
Dkeras_imagenet_main_graph_mode.golden_summary11 ReadVariableOp 2
38 ReadVariableOp 646
/external/tensorflow/tensorflow/cc/saved_model/testdata/VarsAndArithmeticObjectGraph/debug/
Dsaved_model_debug_info.pb179 ESaveV2/child_variable/Read/ReadVariableOp@__inference__traced_save_80(
200 ASaveV2/variable_x/Read/ReadVariableOp@__inference__traced_save_80(
207 ASaveV2/variable_y/Read/ReadVariableOp@__inference__traced_save_80(
340 2add/ReadVariableOp/resource@__inference_compute_34C
351 )add/ReadVariableOp@__inference_compute_34C
373 4add_1/ReadVariableOp/resource@__inference_compute_34C
384 +add_1/ReadVariableOp@__inference_compute_34C
474 6truediv/ReadVariableOp/resource@__inference_compute_34C
485 -truediv/ReadVariableOp@__inference_compute_34C
/external/llvm-project/llvm/unittests/Analysis/Inputs/ir2native_x86_64_model/
Dsaved_model.pbtxt44 name: "ReadVariableOp"
182 name: "dense/kernel/Read/ReadVariableOp"
183 op: "ReadVariableOp"
243 name: "dense/bias/Read/ReadVariableOp"
244 op: "ReadVariableOp"
304 name: "dense_1/kernel/Read/ReadVariableOp"
305 op: "ReadVariableOp"
365 name: "dense_1/bias/Read/ReadVariableOp"
366 op: "ReadVariableOp"
420 name: "total/Read/ReadVariableOp"
[all …]
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/
Dinitialize_variables.mlir8 %0 = "tf.ReadVariableOp"(%arg1) : (tensor<!tf.resource<tensor<1x10xf32>>>) -> tensor<1x10xf32>
11 …%2 = "tf.ReadVariableOp"(%arg1) {device = ""} : (tensor<!tf.resource<tensor<1x10xf32>>>) -> tensor…
23 …// CHECK: "tf.ReadVariableOp"(%arg1) : (tensor<!tf.resource<tensor<1x10xf32>>>) -> tensor<1x10xf32>
49 %0 = "tf.ReadVariableOp"(%arg1) : (tensor<!tf.resource<tensor<1x10xf32>>>) -> tensor<1x10xf32>
52 …%2 = "tf.ReadVariableOp"(%arg1) {device = ""} : (tensor<!tf.resource<tensor<1x10xf32>>>) -> tensor…
55 …// CHECK: "tf.ReadVariableOp"(%arg1) : (tensor<!tf.resource<tensor<1x10xf32>>>) -> tensor<1x10xf32>
/external/tensorflow/tensorflow/core/grappler/costs/graph_properties_testdata/
Dloops_and_resource_vars.pbtxt77 name: "loop_var/Read/ReadVariableOp"
78 op: "ReadVariableOp"
117 name: "while/ReadVariableOp"
118 op: "ReadVariableOp"
130 input: "while/ReadVariableOp"
357 name: "while/while/ReadVariableOp/Enter"
386 name: "while/while/ReadVariableOp"
387 op: "ReadVariableOp"
388 input: "while/while/ReadVariableOp/Enter"
429 input: "while/while/ReadVariableOp"
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dlegalize_variables.cc79 mlir::Operation* GetReadVariableOp(int variable_id, TF::ReadVariableOp read_op, in GetReadVariableOp()
81 return builder.create<TFL::ReadVariableOp>( in GetReadVariableOp()
111 auto read_op = llvm::cast<TF::ReadVariableOp>(op); in matchAndRewrite()
148 patterns.insert<LegalizeVariablesPattern<TF::ReadVariableOp>, in runOnOperation()
/external/tensorflow/tensorflow/core/common_runtime/
Dreplicate_per_replica_nodes_test.cc83 auto read = ops::ReadVariableOp(scope.WithOpName("read"), arg, DT_INT32); in TEST()
131 auto read = ops::ReadVariableOp(scope.WithOpName("read"), arg, DT_INT32); in TEST()
167 auto read0 = ops::ReadVariableOp(scope.WithOpName("read0"), arg0, DT_INT32); in TEST()
168 auto read1 = ops::ReadVariableOp(scope.WithOpName("read1"), arg1, DT_INT32); in TEST()
234 auto read = ops::ReadVariableOp(scope.WithOpName("read"), arg, DT_INT32); in TEST()
300 auto read = ops::ReadVariableOp(scope.WithOpName("read"), arg, DT_INT32); in TEST()

12345