Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 877 for OP (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/c/ops_test.cc

      bool found = false;
      for (const auto& op : op_list.op()) {
        if (op.name() == "AttributeAccessorsOp") {
          ASSERT_TRUE(op.is_commutative());
          ASSERT_TRUE(op.is_aggregate());
          ASSERT_TRUE(op.allows_uninitialized_input());
          ASSERT_EQ(4, op.deprecation().version());
          ASSERT_EQ(deprecation_msg, op.deprecation().explanation());
          ASSERT_EQ(2, op.attr_size());
          ASSERT_EQ("int", op.attr(0).type());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top