Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 843 for OP (0.02 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        if (argumentOp && op->getName() == argumentOp->getName()) {
          // Replace the outer operation output with the inner operation.
          return op->getOperand(0);
        }
      } else if (op->getOperand(0) == op->getOperand(1)) {
        return op->getOperand(0);
      }
    
      return {};
    }
    
    inline LogicalResult verifyIsInvolution(Operation* op) {
      // TODO(b/246518997): Add back check for no side effects on operation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteARM64latelower.go

    	// result: x
    	for {
    		x := v_0
    		if x.Op != OpARM64Equal {
    			break
    		}
    		v.copyOf(x)
    		return true
    	}
    	// match: (MOVBUreg x:(NotEqual _))
    	// result: x
    	for {
    		x := v_0
    		if x.Op != OpARM64NotEqual {
    			break
    		}
    		v.copyOf(x)
    		return true
    	}
    	// match: (MOVBUreg x:(LessThan _))
    	// result: x
    	for {
    		x := v_0
    		if x.Op != OpARM64LessThan {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc

      // quantization. For dynamic range quantizable ops, it refers to the op
      // specification for checking the support. For custom ops, it checks the
      // provided map.
      bool hasInt8QuantizableOperandAt(Operation* op, int operand_index) const {
        if (visited_nonquantizable_ops_->contains(op)) {
          return false;
        }
    
        if (auto custom_op = llvm::dyn_cast_or_null<CustomOp>(op)) {
          std::string op_name = custom_op.getCustomCode().str();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

        tensorflow::tpu::TPUCompileMetadataProto* metadata) {
      auto input_shardings =
          op->getAttrOfType<ArrayAttr>(tensorflow::kInputShardingAttr);
      if (!input_shardings)
        return op.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kInputShardingAttr));
    
      if (input_shardings.size() != op.getNumOperands())
        return op.emitOpError(
            llvm::formatv(kBadArrayAttrLengthMsg, tensorflow::kInputShardingAttr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    			switch inst.Op {
    			case FDIV:
    				inst.Op = FDIVR
    			case FDIVR:
    				inst.Op = FDIV
    			case FSUB:
    				inst.Op = FSUBR
    			case FSUBR:
    				inst.Op = FSUB
    			case FDIVP:
    				inst.Op = FDIVRP
    			case FDIVRP:
    				inst.Op = FDIVP
    			case FSUBP:
    				inst.Op = FSUBRP
    			case FSUBRP:
    				inst.Op = FSUBP
    			}
    		}
    
    	case MOVNTSD:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      if (op.getDialect() != tf_dialect) return true;
      // Assert has a legalization that later removes it so we don't want to outside
      // compile it ever for performance reasons.
      if (llvm::isa<mlir::TF::AssertOp>(op)) return true;
    
      if (HasStringOperand(op)) return false;
      if (HasStringResult(op)) return false;
      if (MatchesPattern(op, supported_ops)) return true;
    
      auto abstractOp = op.getRegisteredInfo();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    // conversion, use the first input to get inputs rank. Other inputs need not be
    // ranked.
    // Defining op for `axis` is TensorFlow constant op in the pattern as during
    // the conversion, original Concat op operands still refers to the old ops even
    // if HLO constant op is introduced as an replacement for the TensorFlow
    // Constant op.
    def : Pat<(TF_ConcatV2Op $inputs, (ConstantLikeMatcher OneElementAttr:$axis)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

      block.walk([&](Operation *op) {
        if (op->getName().getStringRef() != "tfg.NextIteration") return;
        mlir::OpBuilder builder(op);
    
        llvm::SmallVector<Value, 2> new_operands;
        FilterOutBlockArgControlDep(op->getOperands().drop_front(), new_operands);
    
        auto source_op = builder.create<tf_executor::NextIterationSourceOp>(
            op->getLoc(), op->getOperand(0).getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/passes/decompose.cc

                  builder.create<ConstOp>(op->getLoc(), output_type, attribute);
            } else {
              attr_cst = builder.create<mlir::arith::ConstantOp>(
                  op->getLoc(), cast<TypedAttr>(attribute));
            }
            new_operands.push_back(attr_cst);
          }
        }
    
        // Create the TFR call op
        auto new_op = builder.create<CallOp>(
            op->getLoc(), compose_func_type.getResults(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

      // op involves a region, the op is only quantizable when the region only
      // consists of ops whose quantization parameters can be propagated from
      // outside.
      bool IsNestedRegionQuantizable(Operation* op) const {
        for (Region& region : op->getRegions()) {
          for (Operation& op : region.getOps()) {
            if (!IsOpQuantizableInNestedRegion(op)) {
              return false;
            }
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top