Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 843 for OP (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

    }
    
    bool IsTPUOp(mlir::Operation* op) {
      return op->hasAttr(TF::kReplicationInfoAttr);
    }
    
    StringAttr GetReplicationAttr(mlir::Operation* op) {
      return op->getAttrOfType<StringAttr>(TF::kReplicationInfoAttr);
    }
    
    StringAttr GetReplicationAttr(TF::TPUCompilationResultOp op) {
      // Special case for getting the replication region for
      // TPUCompilationResultsOp.
      return op->getAttrOfType<StringAttr>(kTpuCompilationStatus);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationIntegrationTest.groovy

            notifications.op(LoadBuildBuildOperationType.Details, [buildPath: ":a:buildSrc"]).parentId == notifications.op(BuildBuildSrcBuildOperationType.Details, [buildPath: ':a']).id
    
            notifications.op(EvaluateSettingsBuildOperationType.Details, [buildPath: ":"]).parentId == notifications.op(LoadBuildBuildOperationType.Details, [buildPath: ":"]).id
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc

        Operation *op, const ClusteringPolicySet &policies,
        const std::function<bool(Operation *op)> &filter) {
      // Check that op has no side effects. This guarantees that we will not
      // reorder side-effecting ops during cluster formation.
      if (!isMemoryEffectFree(op)) return std::nullopt;
    
      // Operation rejected by the custom filter.
      if (filter && !filter(op)) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc

          // old ConstantOp is guaranteed to have one F32->F16 convert op regardless
          // of its number of users.
          rewriter.setInsertionPointAfter(op);
          // create new F16 constant op in that location
          ConstantOp new_const = rewriter.create<ConstantOp>(
              op->getLoc(), new_result_type, new_value_attr);
          ConvertOp dcast =
              rewriter.create<ConvertOp>(op->getLoc(), old_result_type, new_const);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

    }
    
    // Checks if an op is a TF/XLA communication op.
    bool IsCommunicationOp(Operation* op) {
      return isa<TF::_XlaHostComputeMlirOp, TF::XlaSendToHostOp,
                 TF::XlaRecvFromHostOp>(op);
    }
    
    // Checks if an op is a supported HLO control flow op.
    bool IsControlFlowOp(Operation* op) { return isa<IfOp, WhileOp>(op); }
    
    // Collects control flow op ancestors of a given op, up until FuncOp. If any
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

            llvm::all_of(cluster_op.getUsers(), [&](Operation* op) {
              return op == terminator || tail_outside_compiled_ops_set.count(op);
            });
        if (!can_be_extracted) continue;
    
        // Collect operands of cluster op that are generated within the cluster.
        // These values should be returned by the cluster.
        cluster_op.walk([&](Operation* op) {
          for (Value operand : op->getOperands()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/nilcheck.go

    			// before the slice access (and all cap>0 slices have a non-nil ptr). See #30366.
    			if v.Op == OpAddr || v.Op == OpLocalAddr || v.Op == OpAddPtr || v.Op == OpOffPtr || v.Op == OpAdd32 || v.Op == OpAdd64 || v.Op == OpSub32 || v.Op == OpSub64 || v.Op == OpSlicePtr {
    				nonNilValues[v.ID] = v
    			}
    		}
    	}
    
    	for changed := true; changed; {
    		changed = false
    		for _, b := range f.Blocks {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        lstm_variant->op_code =
            tflite::BuiltinOperator_UNIDIRECTIONAL_SEQUENCE_LSTM;
      } else {
        op.emitError("ConvertLstmStatsToQDQs pass only supports LSTMs.");
        return failure();
      }
      lstm_variant->use_projection =
          !mlir::isa<NoneType>(op.getProjectionWeights().getType());
      lstm_variant->use_peephole =
          !mlir::isa<NoneType>(op.getCellToOutputWeights().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      func_.walk([&](quantfork::QuantizeRegionOp op) { all_ops.push_back(op); });
      return all_ops;
    }
    
    KernelSpecs::Signature QuantizeContext::GetSignature(
        quantfork::QuantizeRegionOp op) {
      KernelSpecs::Signature signature;
      signature.reserve(op.getInputSpecs().size() + op.getOutputSpecs().size());
      for (int i = 0; i < op.getNumOperands(); ++i) {
        DeviceTarget::AppendToSignature(GetOperandParams(op, i), &signature);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

      op->walk([&](Operation *op) {
        if (op->getDialect()->getNamespace() != "vhlo") return;
    
        // Convert operands
        rewriter.modifyOpInPlace(op, [&]() {
          rewriter.setInsertionPoint(op);
          WrapOperandsInUnrealizedCastAndConvert(op, converter, rewriter);
    
          // Convert op types
          for (auto value : op->getResults()) {
            rewriter.setInsertionPointAfter(value.getDefiningOp());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top