Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 270 for operand$i (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

          return fetch.emitOpError()
                 << "operand #" << i << " does not have a graph results to bind";
        if (graph.getResult(i).getType() != operand.getType()) {
          return fetch.emitOpError()
                 << "operand #" << i << " type mismatch graph results ("
                 << graph.getResult(i).getType() << " != " << operand.getType()
                 << ")";
        }
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

    }
    
    // It reduces the following pattern:
    //
    // S = (0, 0, 0)
    // while S[2] < 3:
    //  a0 = S[0] * 2
    //  a1 = a0 + S[1]
    //  a2 = S[2] + 1
    //  S = (a0, a1, a2)
    // return S[0]
    //
    // the 2nd operand (i = 1) as well as its related op (a1 = a0 + S[1])
    // can be removed since only S[0] is returned.
    // It cannot be removed by loop-invariant-code-motion pass since every value
    // is used and changed in the while loop.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

      // input operand.
      if (used_args.count() != num_args) {
        // Traverse arguments backward so that indices to be deleted stay unchanged.
        for (int idx = num_args - 1; idx >= 0; --idx) {
          if (used_args.test(idx)) continue;
          for (func::FuncOp func : cloned_branches) func.eraseArgument(idx);
          // For if/case, arg #i of attached function corresponds to operand #i+1
          op->eraseOperand(idx + 1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. src/go/types/operand.go

    	cgofunc:   "cgo function",
    }
    
    // An operand represents an intermediate value during type checking.
    // Operands have an (addressing) mode, the expression evaluating to
    // the operand, the operand's type, a value for constants, and an id
    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr ast.Expr
    	typ  Type
    	val  constant.Value
    	id   builtinId
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/operand.go

    	cgofunc:   "cgo function",
    }
    
    // An operand represents an intermediate value during type checking.
    // Operands have an (addressing) mode, the expression evaluating to
    // the operand, the operand's type, a value for constants, and an id
    // for built-in functions.
    // The zero value of operand is a ready to use invalid operand.
    type operand struct {
    	mode operandMode
    	expr syntax.Expr
    	typ  Type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top