- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for atTerminator (0.3 sec)
-
tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc
func->emitError(error_message); return; } } } builder.setInsertionPoint(terminator); // Replace tfr.cast(tensor<quant_type>) -> output // with tfr.cast(tensor<storage_type>) -> output for (OpOperand& returned_value : terminator->getOpOperands()) { auto returned_type = returned_value.get().getType().dyn_cast<TensorType>(); if (!returned_type ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_parallel_execute_sink_resource_write.cc
assign_var.getOperation()->moveBefore(terminator); assign_var.getValueMutable().assign( terminator->getOperand(result.index())); results_to_remove.push_back(result.index()); } rewrite |= !results_to_remove.empty(); } if (!rewrite) return; // Remove leftover unused results (terminator operands) from moving
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 06 04:46:18 UTC 2022 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc
void runOnOperation() override; }; // Updates function return type of the given functions to match the terminator // op operands' types. // // Requires the function has exactly one block. void UpdateFuncType(func::FuncOp func) { Operation* terminator = func.front().getTerminator(); auto return_types = llvm::to_vector<4>(terminator->getOperandTypes()); FunctionType func_type = func.getFunctionType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc
TypeRange block_arguments_type, PatternRewriter& rewriter) { // If `destination_block` isn't empty, erase its terminator to ensure that it // never contains two terminator-like ops after merging. if (!destination_block->empty()) rewriter.eraseOp(destination_block->getTerminator()); destination_block->addArguments( block_arguments_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc
Block& block = func.front(); auto* terminator = block.getTerminator(); builder.setInsertionPoint(terminator); if (mlir::isa<FloatType>(output_type)) { return success(); } int num_return_operands = terminator->getNumOperands(); new_output_types.reserve(num_return_operands); for (int i = 0; i != num_return_operands; ++i) { auto returned_value = terminator->getOperand(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/env_windows.go
err = CreateEnvironmentBlock(&block, token, inheritExisting) if err != nil { return nil, err } defer DestroyEnvironmentBlock(block) size := unsafe.Sizeof(*block) for *block != 0 { // find NUL terminator end := unsafe.Pointer(block) for *(*uint16)(end) != 0 { end = unsafe.Add(end, size) } entry := unsafe.Slice(block, (uintptr(end)-uintptr(unsafe.Pointer(block)))/size)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 20:35:26 UTC 2024 - 1.3K bytes - Viewed (0) -
src/internal/syscall/execenv/execenv_windows.go
if err != nil { return nil, err } defer windows.DestroyEnvironmentBlock(blockp) const size = unsafe.Sizeof(*blockp) for *blockp != 0 { // environment block ends with empty string // find NUL terminator end := unsafe.Add(unsafe.Pointer(blockp), size) for *(*uint16)(end) != 0 { end = unsafe.Add(end, size) } entry := unsafe.Slice(blockp, (uintptr(end)-uintptr(unsafe.Pointer(blockp)))/2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 09:26:16 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMain.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMainWithCppDep.groovy
${imports.collect { "import " + it }.join("\n")} // Simple hello world app func main() -> Int { sayGreeting() print(sum(a: 5, b: 7), terminator: "") return 0 } _ = main() """) } @Override String getExpectedOutput() { return greeter.expectedOutput + sum.sum(5, 7) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir
// CHECK-NEXT: y.a // CHECK-NEXT: y.b // CHECK-NEXT: y.c // CHECK-NEXT: z.a // CHECK-NEXT: z.b // CHECK-NEXT: z.c // ----- // CHECK-LABEL: @terminator func.func @terminator(%arg0: f32) -> (f32) attributes {ignore_side_effects_for_testing} { func.call @terminator(%arg0) : (f32) -> (f32) "x.a"(%arg0) : (f32) -> () "y.a"(%arg0) : (f32) -> () "z.a"(%arg0) : (f32) -> () func.return %arg0 : f32 } // CHECK: x.a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 7.6K bytes - Viewed (0)