- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 265 for getresuid (0.21 sec)
-
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
new_while_op.getCond().takeBody(while_op.getCond()); new_while_op.getBody().takeBody(while_op.getBody()); for (auto i = 0; i < n; ++i) { if (!while_op.getResult(i).use_empty()) { auto j = id_map[i]; while_op.getResult(i).replaceAllUsesWith(new_while_op.getResult(j)); } } while_op.erase(); return erase_indices.any(); } void ReduceWhileOperandsPass::runOnOperation() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
} return true; } @Override public List<String> getResult() { return collector; } }; Files.readLines(temp, Charsets.UTF_8, collectNonEmptyLines); assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world ").inOrder(); assertTrue(temp.delete()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc
q_op.getLoc(), new_value_type.clone(new_qtype), new_value); auto dequantize = builder.create<quantfork::DequantizeCastOp>( dq_op.getLoc(), new_value_type, quantize.getResult()); return dequantize.getResult(); } #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.inc" void PrepareLiftingPass::runOnOperation() { MLIRContext* ctx = &getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
// Build identity op with the same location/name as the original compilation // result op. result_id = builder->create<TF::IdentityOp>( res.getLoc(), compile_op->getResult(0).getType(), result_id->getResult(0)); // Assign to same device as result is currently set, unless unset and then // assign to the device on which compilation will happen. // TODO(jpienaar): Remove this later.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
// merged execute. Operation* new_parallel_execute_op = new_parallel_execute.getOperation(); for (int i = 0; i < num_results_before_region; ++i) parallel_execute_op->getResult(i).replaceAllUsesWith( new_parallel_execute_op->getResult(i)); // Replace the uses of the original parallel_execute after region containing // merged execute. The number of results changed in the region containing the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} return true; } @Override public List<String> getResult() { return collector; } }; Files.readLines(temp, Charsets.UTF_8, collectNonEmptyLines); assertThat(collectNonEmptyLines.getResult()).containsExactly("hello", " world ").inOrder(); assertTrue(temp.delete()); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 22.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc
loc, params.getValue(), arg); auto dq_op = builder.create<quantfork::DequantizeCastOp>( loc, input_type, q_op.getResult()); arg.replaceAllUsesWith(dq_op.getResult()); q_op.setOperand(arg); } } }; for (int i = 0, e = func.getNumArguments(); i != e; ++i) { BlockArgument arg = func.getArgument(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
SetFrontendAttributes(recv, index, key, result_type, /*device_to_host=*/false, host_handler_name); SetOpSharding(recv, manual_sharding); result.replaceAllUsesWith(recv.getResult(0)); return recv.getResult(1); } // Creates a new token if necessary, acting as a sink to previous tokens. If // there is only one token in `tokens`, the only token is returned. If `tokens`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
// Collects all candidate ops for quantization, which are the // `dequantize_op`'s users. FailureOr<SmallVector<Operation*>> CollectCandidateOps( DequantizeOpT dequantize_op) const { auto users = dequantize_op->getResult(0).getUsers(); return SmallVector<Operation*>(users.begin(), users.end()); } // Collects all candidate ops for quantization, which is the operand of
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc
loc, params.getValue(), arg); auto dq_op = builder.create<quantfork::DequantizeCastOp>( loc, input_type, q_op.getResult()); arg.replaceAllUsesWith(dq_op.getResult()); q_op.setOperand(arg); } } }; for (int i = 0, e = func.getNumArguments(); i != e; ++i) { BlockArgument arg = func.getArgument(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.2K bytes - Viewed (0)