Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for tf_dialect_ (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

            graph_(graph),
            tf_dialect_(tf_dialect),
            symbol_table_(*symbol_table) {
        graph_->ToGraphDef(&graphdef_);
      }
    
      Status AddArgumentNode(BlockArgument arg, unsigned index,
                             llvm::StringRef name);
      Status AddFetchNode(FuncOp function, mlir::tf_executor::FetchOp fetch,
                          llvm::ArrayRef<llvm::StringRef> names);
      Status AddInstructionNode(Operation* inst);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

            graph_(graph),
            tf_dialect_(tf_dialect),
            symbol_table_(*symbol_table) {
        graph_->ToGraphDef(&graphdef_);
      }
    
      Status AddArgumentNode(BlockArgument arg, unsigned index,
                             llvm::StringRef name);
      Status AddFetchNode(FuncOp function, mlir::tf_executor::FetchOp fetch,
                          llvm::ArrayRef<llvm::StringRef> names);
      Status AddInstructionNode(Operation* inst);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

    // operation of which use is an operand allows for shape refinement without
    // a cast.
    bool NeedsCastBack(OpOperand& use, Dialect* tf_dialect) {
      return use.getOwner()->getDialect() != tf_dialect &&
             !IsSupportedNonTFOp(use.getOwner());
    }
    
    TensorType CreateTensorType(std::optional<llvm::ArrayRef<int64_t>> shape,
                                Type element_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          enabled_op_types_.emplace(OpType::kSelectTf);
        }
        if (toco_flags.allow_custom_ops()) {
          enabled_op_types_.emplace(OpType::kCustomOp);
        }
        tf_dialect_ =
            module.getContext()->getOrLoadDialect<mlir::TF::TensorFlowDialect>();
        tfl_dialect_ = module.getContext()
                           ->getOrLoadDialect<mlir::TFL::TensorFlowLiteDialect>();
        vhlo_dialect_ =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc

    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "pybind11/pybind11.h"  // from @pybind11
    #include "pybind11/stl.h"  // from @pybind11
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.h"
    #include "tensorflow/python/lib/core/pybind11_lib.h"
    
    PYBIND11_MODULE(tfr_wrapper, m) {
      m.def("verify", [](std::string input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 13 06:54:12 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    A. Unique TensorFlower <******@****.***> 1634142505 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

    Russell Power <******@****.***> 1686186907 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/odml_converter_main.cc

    #include "tensorflow/compiler/mlir/lite/stablehlo/odml_converter/passes.h"
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    
    const char* art = R"(
      ___  ___  __  __ _       ___                     _
     / _ \|   \|  \/  | |     / __|___ _ ___ _____ _ _| |_ ___ _ _
    | (_) | |) | |\/| | |__  | (__/ _ \ ' \ V / -_) '_|  _/ -_) '_|
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc

    void LaunchToDeviceAttributePass::runOnOperation() {
      const Dialect* tf_dialect = getContext().getLoadedDialect("tf");
      if (!tf_dialect) {
        getOperation().emitError() << "'tf' dialect is not registered";
        return signalPassFailure();
      }
    
      auto result = getOperation().walk([&tf_dialect](tf_device::LaunchOp launch) {
        if (failed(HoistOpsAndAnnotateWithDevice(tf_dialect, launch)))
          return WalkResult::interrupt();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_op_enums.td

    def TFL_DimensionType : I32EnumAttr<
        "DimensionType", "dimension_type", [TFL_DT_Dense, TFL_DT_SparseCSR]> {
      let genSpecializedAttr = 0;
      let cppNamespace = "::mlir::TFL";
    }
    
    def TFL_DimensionTypeAttr : EnumAttr<TFL_Dialect, TFL_DimensionType,
        "dimension_type_attr"> {
      let convertFromStorage = "$_self";
    }
    
    // Allowed activation function cases
    // These should match the ActivationFunctionType enum in TFLite schema.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 20 00:05:24 UTC 2022
    - 6.4K bytes
    - Viewed (0)
Back to top