Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for operands_ (0.61 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      BidirectionalSequenceLSTMOp op = *this;
      auto operands = op.GetStatefulOperands();
      if (operands.size() == 4 && operands[0] == 35 && operands[1] == 36 &&
          operands[2] == 37 && operands[3] == 38) {
        return success();
      }
      return op.emitError(
          "BidirectionalSequenceLSTMOp expected to have four stateful operands");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          if (mlir::isa<NoneType>(operand.getType()))
            operands.push_back(kTfLiteOptionalTensor);
          else if (auto stats_op =
                       llvm::dyn_cast_or_null<mlir::quantfork::StatisticsOp>(
                           operand.getDefiningOp()))
            operands.push_back(tensor_index_map.lookup(stats_op.getArg()));
          else
            operands.push_back(tensor_index_map.lookup(operand));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    class TFL_OperandsHaveSameDimsTrait<int x, int y, int i, int j> :
      PredOpTrait<"dim " # i # " of operand " # x # " equals to dim " # j #
        " of operand " # y,
        TFL_OperandsHaveSameDims<x, y, i, j>>;
    
    // Return true if number of elements of x-th operand is the same as j-th dim of
    // y-th operand or any of those operands does not have static shape.
    class TFL_NumElementsEqualsDim<int x, int y, int j> :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // Forcely assign operand types to result types (the i-th operand type will
      // assign to i-th result type). Returns true if anything is changed.
      bool ForceTypeForPassThroughOperands(Operation* op, OperandRange operands,
                                           ResultRange results);
    
      // Makes result types match the operand types (the i-th result type will
      // match the i-th operand type). Returns true if anything is changed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/ops.mlir

      // expected-error @+1 {{op failed to verify that operand 0 is 0-D}}
      %0 = "tfl.range"(%arg0, %arg1, %arg2) : (tensor<1xi32>, tensor<i32>, tensor<i32>) -> tensor<?xi32>
      func.return %0 : tensor<?xi32>
    }
    
    // -----
    
    func.func @testRangeOutputTypeMismatch(%arg0 : tensor<i32>, %arg1 : tensor<i32>, %arg2 : tensor<i32>) -> tensor<?xf32> {
      // expected-error @+1 {{op failed to verify that operands and output must have same element type}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm9.go

    }
    
    /* VA-form 3-register + SHB operands */
    func AOP_IRRR(op uint32, d uint32, a uint32, b uint32, simm uint32) uint32 {
    	return op | (d&31)<<21 | (a&31)<<16 | (b&31)<<11 | (simm&0xF)<<6
    }
    
    /* VX-form 1-register + SIM operands */
    func AOP_IR(op uint32, d uint32, simm uint32) uint32 {
    	return op | (d&31)<<21 | (simm&31)<<16
    }
    
    /* XX1-form 3-register operands, 1 VSR operand */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // -----
    
    func.func @testConcatV2(%arg0: tensor<8x16xf32>, %arg1: tensor<8xf32>, %axis: tensor<i32>) -> tensor<*xf32> {
      // expected-error @+1 {{operand type 'tensor<8xf32>' is not compatible with preceding operands; expected rank: 2}}
      %0 = "tf.ConcatV2"(%arg0, %arg1, %axis) : (tensor<8x16xf32>, tensor<8xf32>, tensor<i32>) -> tensor<*xf32>
      func.return %0 : tensor<*xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  9. doc/go1.17_spec.html

    
    <h2 id="Expressions">Expressions</h2>
    
    <p>
    An expression specifies the computation of a value by applying
    operators and functions to operands.
    </p>
    
    <h3 id="Operands">Operands</h3>
    
    <p>
    Operands denote the elementary values in an expression. An operand may be a
    literal, a (possibly <a href="#Qualified_identifiers">qualified</a>)
    non-<a href="#Blank_identifier">blank</a> identifier denoting a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

              op,
              "only match for the case where the first operand has a static "
              "int/float shapeType");
        if (!indices_ty || !indices_ty.hasStaticShape() ||
            !indices_ty.getElementType().isInteger(32))
          return rewriter.notifyMatchFailure(
              op,
              "only match for the case where the second operand an I32 shapeType");
        auto sort_dim = op.getDimension();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top