Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 317 for Advance (0.33 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

          if (op->getDialect()->getNamespace() !=
              TF::TensorFlowDialect::getDialectNamespace()) {
            return WalkResult::advance();
          }
    
          if (!LegalizeSingleOp(*op).ok()) {
            return WalkResult::interrupt();
          }
    
          return WalkResult::advance();
        });
    
        if (walk_result.wasInterrupted()) {
          return tsl::errors::Internal("Could not legalize all ops");
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc

        }
    
        if (status.has_value()) {
          if (failed(*status) || !op->use_empty()) return WalkResult::interrupt();
    
          op->erase();
        }
    
        return WalkResult::advance();
      });
    
      if (result.wasInterrupted()) {
        signalPassFailure();
        return;
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc

          LOG(ERROR) << "Found illegal op containing uq/qint type: "
                     << op->getName().getStringRef().str();
          return WalkResult::interrupt();
        }
        return WalkResult::advance();
      });
    
      if (walk_result.wasInterrupted()) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateVerifyQuantLegalizationPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc

              if (head_outside_compiled_ops.count(operand_op)) continue;
    
              if (operand_op->getParentRegion() == cluster_region)
                return WalkResult::interrupt();
            }
            return WalkResult::advance();
          });
    
          if (!walk_result.wasInterrupted())
            head_outside_compiled_ops.insert(&cluster_op);
        }
      }
    
      for (auto head_outside_compiled_op :
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc

      auto decompose_result = function.walk([&](ReduceDatasetOp reduce_dataset) {
        if (!reduce_dataset->hasAttrOfType<StringAttr>(TF::kCompileDeviceTypeAttr))
          return WalkResult::advance();
        OpBuilder builder(reduce_dataset);
        Location loc = reduce_dataset.getLoc();
    
        // Get reduce function signature for dataset iteration types.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

            const Value cast =
                builder.create<TF::CastOp>(op->getLoc(), original_type, op_result);
            op_result.replaceAllUsesExcept(cast, cast.getDefiningOp());
          }
        }
        return WalkResult::advance();
      });
    
      if (result.wasInterrupted()) return signalPassFailure();
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

      ASSERT_TRUE(main);
    
      bool has_cluster_op = false;
      main.walk([&](mlir::tf_device::ClusterFuncOp cluster_op) {
        has_cluster_op = true;
        return WalkResult::advance();
      });
    
      EXPECT_TRUE(has_cluster_op);
      EXPECT_EQ(compilation_status.Delta(mlir::TF::kMlirPh1BridgeCounterReplicated,
                                         mlir::TF::kMlirPh1BridgeCounterV2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

          if (llvm::isa<AssertOp>(op)) {
            return WalkResult::advance();
          }
          if (auto if_op = llvm::dyn_cast<IfOp>(op)) {
            if (IsPureFunction(if_op.then_function()) &&
                IsPureFunction(if_op.else_function())) {
              return WalkResult::advance();
            }
          }
          if (IsCallToPureFunction(op)) {
            return WalkResult::advance();
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc

        llvm::SmallVector<ReadVariableOp, 4> reads;
        if (failed(GetReads(func, replicate, reads)))
          return WalkResult::interrupt();
        MoveReads(replicate, reads);
        return WalkResult::advance();
      });
    
      if (result.wasInterrupted()) return signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<FuncOp>> CreateHoistBroadcastReadPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

        }
        if (!IsDefaultConversionLegal(op, default_conversion_target)) {
          has_invalid_ops = true;
          IncrementCounterFor(mlir_failed_legalization_op_count, op);
        }
        return WalkResult::advance();
      });
    
      if (has_invalid_ops) signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>>
    CreateVerifyTFXLALegalizationPass(bool legalize_chlo) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top