Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for Operands (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        if (!result_ty) {
          return emitOptionalError(location, "Expected shape type for operand 0");
        }
        for (auto [index, ty] :
             llvm::drop_begin(llvm::enumerate(operands.getTypes()), 1)) {
          auto shape_type = llvm::dyn_cast_or_null<ShapedType>(ty);
          if (!shape_type) {
            return emitOptionalError(location, "Expected shape type for operand ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    	}
    	word, cond = p.lex.Text(), ""
    	operands = scratch[:0]
    	// Zero or more comma-separated operands, one per loop.
    	nesting := 0
    	colon := -1
    	for tok != '\n' && tok != ';' {
    		// Process one operand.
    		var items []lex.Token
    		if cap(operands) > len(operands) {
    			// Reuse scratch items slice.
    			items = operands[:cap(operands)][len(operands)][:0]
    		} else {
    			items = make([]lex.Token, 0, 3)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 14:34:57 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        new_types.back() = rewriter.getType<tf_executor::ControlType>();
    
        // Control operand is attached on tf_executor::IslandOp.
        llvm::SmallVector<Value> island_control_operands;
        llvm::SmallVector<Value> inner_op_operands;
    
        for (Value value : operands) {
          // Because of the property of graph region, the control operands may
          // not have been converted to tf_executor::ControlType.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

        for (Value operand : fetch_op.getFetches()) {
          // Control results should not be propagated out.
          if (mlir::isa<ControlType>(operand.getType())) break;
    
          if (operand.getDefiningOp() != island_op) {
            // Operand is not from island, simply propagate it out.
            new_rets.push_back(operand);
          } else {
            // Lookup yield operand in island for inner op result.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/asm.go

    // GLOBL shifts<>(SB),$256
    func (p *Parser) asmGlobl(operands [][]lex.Token) {
    	if len(operands) != 2 && len(operands) != 3 {
    		p.errorf("expect two or three operands for GLOBL")
    		return
    	}
    
    	// Operand 0 has the general form foo<>+0x04(SB).
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("GLOBL", &nameAddr, false) {
    		return
    	}
    	next := 1
    
    	// Next operand is the optional flag, a literal integer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc

      // Collect operands for the new merged island.
      island_operands_and_results.operands.clear();
      for (IslandOp island : merged_island.islands)
        island_operands_and_results.operands.insert(island.operand_begin(),
                                                    island.operand_end());
      for (IslandOp island : merged_island.islands)
        island_operands_and_results.operands.remove(island.getControl());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      MutableArrayRef<OpOperand> operands = GetOperandsForBlockArgument(block_arg);
      if (operands.size() == 1) return operands.front().get();
    
      return operands[replica].get();
    }
    
    // Returns the list of replica op operands that maps to the given block
    // argument. Returns list with num_replicas elements for replicated operands
    // and list with a single element for packed operands.
    //
    // Requires that block argument is of this replicate op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    // ops (like the `dim` argument for `TF::ExpandDimsOp`) determine the shape of
    // the resulting tensor. If these operands are constants, they are duplicated
    // and replace the shape-determining operands. Each duplicated constant will
    // only be used as the shape-determining operand; it will not replace other
    // usages of the original constant. If the operands are not constants (i.e.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc

      if (extra_operands.empty()) return;
    
      const int operands_size = while_op.getNumOperands() + extra_operands.size();
      SmallVector<Value, 4> operands;
      operands.reserve(operands_size);
      operands.append(while_op.getOperands().begin(), while_op.getOperands().end());
      operands.append(extra_operands.begin(), extra_operands.end());
      SmallVector<Type, 4> new_types;
      new_types.reserve(operands_size);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        OpBuilder<(ins "Value":$token, "ArrayRef<Value>":$operands,
          CArg<"ArrayRef<NamedAttribute>", "{}">:$attributes),
        [{
          assert(operands.size() >= 1 && "tf_executor.NextIteration.Sink builder "
                 "expects at least one operand");
          $_state.operands.push_back(token);
          $_state.operands.insert($_state.operands.end(), operands.begin(),
                                  operands.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
Back to top