Home
last modified time | relevance | path

Searched refs:tf_res (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dresource-alias-analysis-test.mlir5 !tf_res = type tensor<*x!tf.resource<tensor<32xf32>>>
10 %arg0: !tf_res,
11 %arg1: !tf_res,
16 %read0 = "tf.ReadVariableOp"(%arg0) : (!tf_res) -> tensor<32xf32>
17 "tf.AssignVariableOp"(%arg0, %arg2) : (!tf_res, tensor<32xf32>) -> ()
18 %read1 = "tf.ReadVariableOp"(%arg1) : (!tf_res) -> tensor<32xf32>
20 %var_handle = "tf.VarHandleOp"() {container = "c", shared_name = "v0"} : () -> !tf_res
21 %read2 = "tf.ReadVariableOp"(%var_handle) : (!tf_res) -> tensor<32xf32>
22 "tf.AssignVariableOp"(%arg1, %read0) : (!tf_res, tensor<32xf32>) -> ()
23 "tf.AssignVariableOp"(%arg0, %read2) : (!tf_res, tensor<32xf32>) -> ()
[all …]
Dresource-device-inference.mlir3 !tf_res = type tensor<*x!tf.resource<tensor<32xf32>>>
10 %arg0: !tf_res {tf.device = "/TPU:0"},
11 %arg1: !tf_res {tf.device = "/TPU:1"}) {
17 : () -> !tf_res
20 %id0 = "tf.Identity"(%arg0) : (!tf_res)
21 -> !tf_res
24 %id1 = "tf.Identity"(%id0) : (!tf_res)
25 -> !tf_res
28 %id2 = "tf.Identity"(%var_handle) : (!tf_res)
29 -> !tf_res
[all …]
Dresource_op_lifting.mlir1128 !tf_res = type tensor<*x!tf.resource<tensor<f32>>>
1132 func @tpu_computation(%arg0: !tf_res, %arg1: tensor<i1>, %arg2: tensor<i32>) {
1134 …g2, %arg0) {branches = [@case_branch], is_stateless = false} : (tensor<i32>, !tf_res) -> tensor<i1>
1140 %3 = "tf.VarIsInitializedOp"(%arg0) : (!tf_res) -> tensor<i1>
1145 …nch = @if_then, else_branch = @if_else, is_stateless = false} : (tensor<i1>, !tf_res) -> tensor<i1>
1151 %6 = "tf.VarIsInitializedOp"(%arg0) : (!tf_res) -> tensor<i1>
1158 %7 = "tf.VarIsInitializedOp"(%arg0) : (!tf_res) -> tensor<i1>
1163 …= @while_body, cond = @while_cond, is_stateless = false} : (!tf_res, tensor<i1>) -> (!tf_res, tens…
1171 %10 = "tf.VarIsInitializedOp"(%arg0) : (!tf_res) -> tensor<i1>
1180 %11 = "tf.VarIsInitializedOp"(%arg0) : (!tf_res) -> tensor<i1>
[all …]
Dtpu_cluster_formation.mlir473 !tf_res = type tensor<*x!tf.resource<tensor<f32>>>
477 %1 = "tf.VarHandleOp"() {container = "", shape = #tf.shape<>, shared_name = "x"} : () -> !tf_res
480 "tf.AssignAddVariableOp"(%1, %0) : (!tf_res, tensor<f32>) -> ()
483 "tf.AssignAddVariableOp"(%1, %0) : (!tf_res, tensor<f32>) -> ()
507 %1 = "tf.VarHandleOp"() {container = "", shape = #tf.shape<>, shared_name = "x"} : () -> !tf_res
508 "tf.AssignAddVariableOp"(%1, %0) { _tpu_replicate = "foo" } : (!tf_res, tensor<f32>) -> ()
510 "tf.AssignAddVariableOp"(%1, %0) : (!tf_res, tensor<f32>) -> ()
533 !tf_res = type tensor<*x!tf.resource<tensor<f32>>>
537 func @multiple_replicated_interleaved(%arg0: !tf_res) {
541 %0 = "tf.TPUReplicatedInput"(%arg0, %arg0) : (!tf_res, !tf_res) -> !tf_res
[all …]
/external/libopus/celt/
Dcelt_encoder.c585 int *tf_res, int lambda, celt_norm *X, int N0, int LM, in tf_analysis() argument
725 tf_res[len-1] = cost0 < cost1 ? 0 : 1; in tf_analysis()
729 if (tf_res[i+1] == 1) in tf_analysis()
730 tf_res[i] = path1[i+1]; in tf_analysis()
732 tf_res[i] = path0[i+1]; in tf_analysis()
738 tf_res[0] = rand()&0x1; in tf_analysis()
740 tf_res[i] = tf_res[i-1] ^ ((rand()&0xF) == 0); in tf_analysis()
745 static void tf_encode(int start, int end, int isTransient, int *tf_res, int LM, int tf_select, ec_e… in tf_encode() argument
764 ec_enc_bit_logp(enc, tf_res[i] ^ curr, logp); in tf_encode()
766 curr = tf_res[i]; in tf_encode()
[all …]
Dcelt_decoder.c447 static void tf_decode(int start, int end, int isTransient, int *tf_res, int LM, ec_dec *dec) in tf_decode() argument
470 tf_res[i] = curr; in tf_decode()
482 tf_res[i] = tf_select_table[LM][4*isTransient+2*tf_select+tf_res[i]]; in tf_decode()
837 VARDECL(int, tf_res);
1012 ALLOC(tf_res, nbEBands, int);
1013 tf_decode(start, end, isTransient, tf_res, LM, dec);
1090 NULL, pulses, shortBlocks, spread_decision, dual_stereo, intensity, tf_res,
Dbands.h109 int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits,
Dbands.c1400 int dual_stereo, int intensity, int *tf_res, opus_int32 total_bits, in quant_all_bands() argument
1521 tf_change = tf_res[i]; in quant_all_bands()
/external/libopus/doc/
Dopus_update.patch27 tf_change = tf_res[i];