Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,281 for terminator (0.18 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

                             first_block.args_end());
    
      // Replace the existing terminator with a return.
      terminator = first_block.getTerminator();
      builder.setInsertionPoint(terminator);
      builder.create<func::ReturnOp>(terminator->getLoc(), return_values);
      terminator->erase();
    
      outlined_func.setPrivate();
    
      // Uniquify the function name, and insert into module.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

      Operation& terminator = replicate_op.GetBody().back();
      llvm::SmallVector<Type, 8> output_types(terminator.getOperandTypes());
      auto control_type = tf_executor::ControlType::get(island_op.getContext());
      llvm::SmallVector<Value, 8> replica_inputs(island_op.getControlInputs());
    
      // Replace replicate terminator with YieldOp.
      builder.setInsertionPoint(&terminator);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        op->erase();
      }
    }
    
    // Updates terminator op arguments of 'func' after removing arguments
    // specified in 'arguments_to_erase'.
    template <typename T>
    void UpdateTerminatorArguments(T& func,
                                   const ArrayRef<unsigned> arguments_to_erase,
                                   llvm::BitVector& erase_indices) {
      auto terminator = func.front().getTerminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

        mlir::Operation *terminator = nullptr;
        if (subgraph->name()) {
          if (auto fn = module.lookupSymbol<FuncOp>(subgraph->name()->str()))
            terminator = fn.back().getTerminator();
        }
        i = 0;
        for (auto output : *subgraph->outputs()) {
          print_buffer(*subgraph, i, output, [&](int i) {
            return terminator ? terminator->getOperand(i).getLoc() : unknown_loc;
          });
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. 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)
  6. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

    //  statement from generating an 'unreachable code' warning in case
    //  statement unconditionally returns or throws. The Message constructor at
    //  the end allows the syntax of streaming additional messages into the
    //  macro, for compilational compatibility with EXPECT_DEATH/ASSERT_DEATH.
    # define GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator) \
        GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    // argument of the yield terminator, as well as an extra control token.
    %2, %ctl2 = tf_executor.island (%ctl0)
                      : (tensor<*xf32>, !tf_executor<"control">) -> tensor<*xf32> {
      %added = tf.Add %1, %0 : tensor<*xf32>
      %mul = tf.Mul %added, %1 :tensor<*xf32>
    
      // The yield terminator operands are the result values of the island.
      tf_executor.yield %mul : tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

      Region* cluster_region = &cluster.getBody();
      llvm::SmallSetVector<Operation*, 4> tail_outside_compiled_ops_set;
      Operation* terminator = cluster.GetBody().getTerminator();
      llvm::SmallSetVector<Value, 4> cluster_results_set;
      cluster_results_set.insert(terminator->getOperands().begin(),
                                 terminator->getOperands().end());
    
      auto cluster_ops = llvm::reverse(cluster.GetBody().without_terminator());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

      }
    
      // Edit the return ops and remove the dequantize ops in place.
      auto* terminator = bb.getTerminator();
      int num_return_operands = terminator->getNumOperands();
      llvm::SmallVector<Type, 4> output_types;
      output_types.reserve(num_return_operands);
      for (int i = 0; i != num_return_operands; ++i) {
        auto returned_value = terminator->getOperand(i);
        Operation* returned_op = returned_value.getDefiningOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/SwiftMain.groovy

                // Simple hello world app
                func main() -> Int {
                  let greeter = Greeter()
                  greeter.sayHello()
                  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.5K bytes
    - Viewed (0)
Back to top