Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 94 for modulemap (0.09 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

      func.return %0 : tensor<i32>
    }
    )mlir";
      mlir::MLIRContext context;
      context.loadDialect<mlir::func::FuncDialect, mlir::TF::TensorFlowDialect>();
      mlir::OwningOpRef<mlir::ModuleOp> module =
          mlir::parseSourceString<mlir::ModuleOp>(code, &context);
      ASSERT_TRUE(module);
      EXPECT_TRUE(IsSupportedByReplicatedBridge(*module));
    }
    
    TEST(HasTPUPartitionedCallOpInModule, HasTPUPartitionedCallModule) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

            absl::StrCat("Failed to open input file: ", error_message));
      }
    
      if (input_mlir) {
        source_mgr->AddNewSourceBuffer(std::move(file), llvm::SMLoc());
        return OwningOpRef<ModuleOp>(
            mlir::parseSourceFile<mlir::ModuleOp>(*source_mgr, context));
      }
    
      // Register extra TF ops passed as OpDef.
      auto extra_opdefs_status = RegisterExtraTfOpDefs(extra_tf_opdefs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

    // vhlo.op %1 : vhlo.tensor<...>
    //   ==>
    // vhlo.op %1 : tensor<...>
    //
    // TODO: There's likely a way to make MLIR manage the unrealized cast
    // conversions using a specific rewriter.
    LogicalResult ApplyTypeConverter(ModuleOp op, TypeConverter &converter) {
      IRRewriter rewriter(op->getContext());
    
      op->walk([&](Operation *op) {
        if (op->getDialect()->getNamespace() != "vhlo") return;
    
        // Convert operands
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

        // and use it for `shape_inference_graph` attribute on XlaHostCompute.
        func::FuncOp cloned_func;
        SymbolTable manager(op->getParentOfType<ModuleOp>());
        StringRef host_module = op.getHostMlirModule();
        if (!host_module.empty()) {
          mlir::OwningOpRef<mlir::ModuleOp> module_for_func;
    
          func::FuncOp func = op.GetHostFunc(&module_for_func);
    
          OpBuilder::InsertionGuard guard(rewriter);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

        Pass<"tf-resource-op-lifting-for-main-function", "ModuleOp"> {
      let summary = "Lifting resource operations out of control flow statements "
        "for the main function";
      let constructor = "TFDevice::CreateResourceOpLiftingForMainFunctionPass()";
    }
    
    def AnnotateParameterReplicationPass :
        Pass<"tf-annotate-parameter-replication", "ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/plugins/NativeComponentModelPluginTest.groovy

        }
    
        public <T> T realizeModelElement(String path, ModelType<T> type) {
            project.modelRegistry.realize(path, type)
        }
    
        ModelMap<BinarySpec> getBinaries() {
            realizeModelElement("binaries", modelMap(BinarySpec))
        }
    
        NativeToolChainRegistry getToolChains() {
            realizeModelElement("toolChains", NativeToolChainRegistry)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:55 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/python/mlir.cc

      registry.insert<mlir::shape::ShapeDialect>();
      mlir::MLIRContext context(registry);
      mlir::OwningOpRef<mlir::ModuleOp> module;
      {
        mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context);
        module = mlir::parseSourceString<mlir::ModuleOp>(mlir_txt, &context);
        if (!module) {
          tsl::Set_TF_Status_from_Status(status,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

            e.cause.message == """Type $ModelMap.name<?> is not a valid model element type:
    - type parameter of org.gradle.model.ModelMap cannot be a wildcard.
    
    The type was analyzed due to the following dependencies:
    ${fullyQualifiedNameOf(managedType)}
      \\--- property 'managedWithNestedInvalidManagedType' (${fullyQualifiedNameOf(nestedManagedType)})
        \\--- property 'invalidManaged' ($ModelMap.name<?>)"""
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

    constexpr StringRef kCpuDeviceName = "CPU";
    
    using ::mlir::TFL::common::OpsAdded;
    using ::mlir::TFL::common::Subgraph;
    
    class RaiseTargetSubgraphsPass
        : public PassWrapper<RaiseTargetSubgraphsPass, OperationPass<ModuleOp>> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(RaiseTargetSubgraphsPass)
    
      RaiseTargetSubgraphsPass() = default;
      RaiseTargetSubgraphsPass(const RaiseTargetSubgraphsPass& other) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc

    };
    
    LogicalResult DecomposeStackOpsInternal(
        Block*, ModuleOp, llvm::SmallDenseMap<Value, Value>*,
        llvm::StringMap<PartitionedCallStackOpsInfo>*);
    
    // Handles stack usage by a tf.While. It will convert the body and conditional
    // function signatures, and performs stack ops decomposition on them.
    LogicalResult HandleWhileOp(
        TF::WhileOp while_op, ModuleOp module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.8K bytes
    - Viewed (0)
Back to top