- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 747 for setcontext (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc
: public impl::DecomposeResourceOpsPassBase<DecomposeResourceOpsPass> { void runOnOperation() override { // Add lowering patterns to the list. RewritePatternSet patterns(&getContext()); TF::PopulateDecomposeResourceOpsPatterns(&getContext(), &patterns); if (failed(applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:01:13 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dilated_conv.cc
void runOnOperation() override; }; void IdentifyDilatedConvPass::runOnOperation() { RewritePatternSet patterns(&getContext()); auto func = getOperation(); patterns.add<ConvertTFDilatedConvOp<TF::Conv2DOp>, ConvertTFDilatedConvOp<TF::DepthwiseConv2dNativeOp>>( &getContext()); (void)applyPatternsAndFoldGreedily(func, std::move(patterns)); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 07 21:08:41 UTC 2022 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_data_optimization_pass.cc
// Perform tf.data optimizations. struct TFDataOptimization : public impl::TFDataOptimizationPassBase<TFDataOptimization> { void runOnOperation() override { RewritePatternSet patterns(&getContext()); mlir::TF::PopulateTFDataOptimizationPatterns(&getContext(), &patterns); (void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)); } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 1.7K bytes - Viewed (0) -
platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/IncrementalSwiftElement.java
assert !beforeFile.getContent().equals(afterFile.getContent()); return new Transform() { @Override public void applyChangesToProject(TestFile projectDir) { TestFile file = projectDir.file(beforeFile.withPath("src/" + sourceSetName)); file.assertExists(); file.write(afterFile.getContent()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.cc
const Type elem = shaped.getElementType(); if (IsLargeFloatType(elem)) { return shaped.clone(BFloat16Type::get(type.getContext())); } } else if (IsLargeFloatType(type)) { return BFloat16Type::get(type.getContext()); } return type; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_quantized.cc
class LowerQuantizedPass : public impl::LowerQuantizedPassBase<LowerQuantizedPass> { public: void runOnOperation() override { RewritePatternSet patterns(&getContext()); mlir::TF::PopulateLoweringQuantizedPatterns(&getContext(), &patterns); (void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)); } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.td
def Size3InputRange : NativeCodeCall< "SmallVector<Value, 3>{$0, $1, $2}">; def EmptyCustomOptions : NativeCodeCall< "TFL::ConstBytesAttr::get($_builder.getContext(), \"\")">; def CustomOptions : NativeCodeCall< "CustomOptions($_builder.getContext(), $0.getDefiningOp()).value()">; class CreateStringAttr<string values> : NativeCodeCall< "$_builder.getStringAttr("# values #")">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 18 07:12:51 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/utils/dialect_detection_utils_test.cc
TEST_F(SharedUtilsTest, IsInFunctionalDialectPasses) { MLIRContext context; context.loadDialect<TensorFlowDialect>(); OpBuilder opBuilder(&context); OperationState state(UnknownLoc::get(opBuilder.getContext()), /*OperationName=*/"tf.Const"); mlir::Operation* op = Operation::create(state); bool result = IsInBridgeAcceptableDialects(op); EXPECT_TRUE(result); op->destroy(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Nov 08 20:33:37 UTC 2023 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc
SymbolTable symbol_table(module); OpBuilder builder(module.getContext()); module.walk([&](tf_device::ClusterOp cluster) { OutlineCluster(cluster, &symbol_table, &builder); }); } void LaunchOutliningPass::runOnOperation() { ModuleOp module = getOperation(); SymbolTable symbol_table(module); OpBuilder builder(module.getContext()); module.walk([&](tf_device::LaunchOp launch) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 7.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/XmlExtractorTest.java
final String content = xmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("ใในใ")); } public void test_getXml_entity() { final InputStream in = ResourceUtil.getResourceAsStream("extractor/test_entity.xml"); final String content = xmlExtractor.getText(in, null).getContent(); CloseableUtil.closeQuietly(in);
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.4K bytes - Viewed (0)