Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 461 for operand$i (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

        Interface for ops potentially have same operands and results scales.
      }];
    
      let methods = [
        InterfaceMethod<
          [{Returns whether same operands and results scales are required.}],
          "bool", "RequiredSameOperandsAndResultsScale",
          (ins "bool":$sign, "int":$bit_width), [{}], [{return true;}]
        >,
        InterfaceMethod<
          [{Returns whether operands and results must have the same quantized axis.}],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/deadness_analysis.cc

        return operands_;
      }
      absl::Span<Predicate* const> operands() const { return operands_; }
    
     private:
      std::vector<Predicate*> operands_;
    };
    
    // Represents a logical negation of a set of predicates.
    class NotPredicate : public Predicate {
     public:
      explicit NotPredicate(int64_t id, Predicate* operand)
          : Predicate(id), operands_({operand}) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

      return absl::OkStatus();
    }
    
    Status MlirAbstractOp::Create(ArrayRef<Value> operands,
                                  OperationState** state) {
      state_->operands = llvm::to_vector<4>(operands);
      Builder builder(context_);
    
      if (current_ods_input_ != op_def_->input_arg_size())
        return InvalidArgument(absl::StrCat("Mismatch in operands number: got ",
                                            current_ods_input_, " expected ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  4. 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)
  5. src/cmd/compile/internal/syntax/parser.go

    			var i Expr
    			if p.tok != _Colon {
    				var comma bool
    				if p.tok == _Rbrack {
    					// invalid empty instance, slice or index expression; accept but complain
    					p.syntaxError("expected operand")
    					i = p.badExpr()
    				} else {
    					i, comma = p.typeList(false)
    				}
    				if comma || p.tok == _Rbrack {
    					p.want(_Rbrack)
    					// x[], x[i,] or x[i, j, ...]
    					t := new(IndexExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top