Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 521 for operands_ (0.15 sec)

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

          call.getNumResults() != yield.getNumOperands())
        return std::nullopt;
      for (auto [arg, operand] :
           llvm::zip(block.getArguments(), call.getOperands())) {
        if (arg != operand) return std::nullopt;
      }
      for (auto [ret, operand] :
           llvm::zip(call.getResults(), yield.getOperands())) {
        if (ret != operand) return std::nullopt;
      }
      SymbolRefAttr symbol = call.getCallableForCallee().get<SymbolRefAttr>();
    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. src/go/types/index.go

    				x.mode = invalid
    				return
    			}
    			valid = true
    			if x.mode == constant_ {
    				length = int64(len(constant.StringVal(x.val)))
    			}
    			// spec: "For untyped string operands the result
    			// is a non-constant value of type string."
    			if isUntyped(x.typ) {
    				x.typ = Typ[String]
    			}
    		}
    
    	case *Array:
    		valid = true
    		length = u.len
    		if x.mode != variable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

        if (!cluster_id) return WalkResult::advance();
    
        llvm::SmallVector<int, 4> dynamic_shape_arg_index;
    
        // Traverse the operands of the cluster func op and find which operand
        // is returned by TPUAnnotateTensorsWithDynamicShapeOp.
        for (const auto& cluster_func_operand :
             llvm::enumerate(cluster_func_op.getOperands())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

              new_return.setOperand(resource_arg_to_new_output[index], value);
            });
      }
    
      // Recreate the op without resource operands.
      OpBuilder builder(op);
      // Now use the filtered original operands, which will be replaced by
      // AddLoadsStoresOutsideControlFlowOp().
      auto new_operands =
          FilterRange<Value, OperandRange>(op.getInput(), resource_arg_uses);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. src/fmt/print.go

    }
    
    // Print formats using the default formats for its operands and writes to standard output.
    // Spaces are added between operands when neither is a string.
    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/asm/internal/asm/testdata/amd64error.s

    	CALL (AX)(PC*1)                 // ERROR "invalid instruction"
    	CALL (AX)(SB*1)                 // ERROR "invalid instruction"
    	CALL (AX)(FP*1)                 // ERROR "invalid instruction"
    	// Forbid memory operands for MOV CR/DR. See #24981.
    	MOVQ CR0, (AX)                  // ERROR "invalid instruction"
    	MOVQ CR2, (AX)                  // ERROR "invalid instruction"
    	MOVQ CR3, (AX)                  // ERROR "invalid instruction"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

      rewriter.replaceAllUsesWith(op.getResult(), output_transpose_op);
    }
    
    // "Climbs up" the `op` if `op` is a `BraodcastInDimOp` and returns the defining
    // op of its operand. Returns `op` otherwise. May return `nullptr` when the
    // `BroadcastInDimOp`'s operand is a block argument.
    absl::Nullable<Operation*> SkipUpwardsOptionalBroadcastInDimOp(
        absl::Nonnull<Operation*> op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

             op->getAttrOfType<StringAttr>(kQuantTraitAttrName).getValue().str() ==
                 QuantTraitValues[QuantizationTrait::FullyQuantizable];
    }
    
    // Returns true if `op` has two operands and one result and only second operand
    // is quantized.
    bool IsHybridQuantizedOp(Operation* op);
    
    // Returns whether a given `stablehlo.dot_general` can be legalizable to
    // `tfl.fully_connected`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top