Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 521 for operands_ (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/split-merged-operands.mlir

    // RUN: tf-opt -tfl-split-merged-operands %s | FileCheck %s
    
    func.func @testSingleLstm(%arg0: tensor<4x4xf32>, %arg1: tensor<4xf32>, %arg2: tensor<4x4x4xf32>) -> tensor<4x4x4xf32> {
      // CHECK-LABEL: testSingleLstm
      // CHECK-DAG:  %[[CST_0:.*]] = "tfl.pseudo_const"() <{value = dense<0.000000e+00> : tensor<4x4xf32>}> : () -> tensor<4x4xf32>
      // CHECK-DAG:  %[[CST_1:.*]] = "tfl.pseudo_const"() <{value = dense<0.000000e+00> : tensor<4x4xf32>}> : () -> tensor<4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // shape tensors in variadic shapes operand.
      if (operands.size() < 3) return failure();
    
      // Check concat_dim is a scalar.
      auto concat_dim_attr =
          mlir::dyn_cast_or_null<DenseIntElementsAttr>(operands[0]);
      if (!concat_dim_attr || concat_dim_attr.getType().getRank() != 0)
        return failure();
    
      llvm::SmallVector<DenseIntElementsAttr, 4> shapes;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

                    "Has to fallback values which might introduce errors.\n");
    
      // Use the first immutable state to quantize the rest operands and results.
      if (!immutable_states.empty()) return immutable_states.front()->params;
    
      // If there are no immutable states, use the operand's state if it is the
      // only one operand and has parameters propagated.
      if (op->getNumOperands() == 1 && mutable_operands_num == 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h

    // and have at least one operand, result type can be inferred using the first
    // operand's type.
    
    #define INFER_RETURN_TYPE_COMPONENTS_FROM_OPERANDS(Op)                \
      LogicalResult Op::inferReturnTypeComponents(                        \
          MLIRContext* context, std::optional<Location> location,         \
          ValueShapeRange operands, DictionaryAttr attributes,            \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        llvm::SetVector<Value> operands;
        getUsedValuesDefinedAbove(island_op.getBody(), operands);
    
        SmallVector<Type, 16> func_operand_types;
        func_operand_types.reserve(operands.size());
        for (Value operand : operands)
          func_operand_types.push_back(operand.getType());
    
        // Function results are the yield operands
        SmallVector<Type, 16> func_result_types;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      for (auto operand : forward_caller->getOperands()) {
        if (llvm::isa<BlockArgument>(operand)) {
          // Pull this from the original operands to the original while op.
          auto arg = llvm::cast<BlockArgument>(operand);
          f_operands.push_back(loop_operands[arg.getArgNumber()]);
          continue;
        }
        auto src = operand.getDefiningOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/transforms/layout_optimization.cc

      ConstOp permutation_op;
    
      // Layout dependent operands must be transpose operations with the same
      // permutation indices.
      for (unsigned idx : layout_dependent_operands) {
        OpOperand& operand = op->getOpOperand(idx);
    
        // Operand must be defined by a transpose op.
        TransposeOp transpose =
            dyn_cast_or_null<TransposeOp>(operand.get().getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top