Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 133 for StringRef (0.3 sec)

  1. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

        // and input devices, variables used by this function.
        llvm::SmallVector<llvm::StringRef, 4> input_names;
        llvm::SmallVector<
            std::pair<tensorflow::DataType, tensorflow::PartialTensorShape>, 4>
            input_specs;
        llvm::SmallVector<llvm::StringRef, 4> input_devices;
        llvm::SmallVector<mlir::Operation*, 4> bound_inputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

        ModuleOp module, Session* session,
        const SmallSet<StringRef, 4>& resource_names) {
      OpBuilder builder(module.getBodyRegion());
    
      if (!session) return module.emitOpError() << "no session provided";
    
      // Read all resource variables from the session.
      std::vector<std::string> variable_names;
      variable_names.reserve(resource_names.size());
      for (StringRef name : resource_names) variable_names.push_back(name.str());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TF2XLA_INTERNAL_LEGALIZE_TF_MLIR_H_
    #define TENSORFLOW_COMPILER_MLIR_TF2XLA_INTERNAL_LEGALIZE_TF_MLIR_H_
    
    #include <string>
    #include <vector>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "tensorflow/compiler/tf2xla/xla_helpers.h"
    #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
    #include "tsl/platform/statusor.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.cc

    // to represent calling a TF host callback function.
    constexpr llvm::StringRef kTfTargetName = "tf.call_tf_function";
    
    // `tf.backend_config` is a DictionaryAttr, JAX2TF sets the value of its
    // string attribute `caller_name` to the TF host callback function's name.
    constexpr llvm::StringRef kTfBackendConfigAttrName = "tf.backend_config";
    constexpr llvm::StringRef kCalledFuncAttrName = "called_func";
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.h

    #ifndef TENSORFLOW_COMPILER_MLIR_QUANTIZATION_STABLEHLO_UTILS_TF_TYPE_UTILS_H_
    #define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_STABLEHLO_UTILS_TF_TYPE_UTILS_H_
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    #include "mlir/IR/Types.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/mlprogram_util.h"
    
    #include "llvm/ADT/STLFunctionalExtras.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/Twine.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "mlir/Pass/PassRegistry.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 22:13:50 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h

    #include "xla/xla_data.pb.h"
    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    
    namespace tensorflow {
    
    inline constexpr llvm::StringRef kInputShardingAttr =
        "input_sharding_configuration";
    inline constexpr llvm::StringRef kOutputShardingAttr =
        "output_sharding_configuration";
    
    // Parses the sharding string. This sharding string can be binary (serialized)
    // or human readable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 22:18:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc

    #include <utility>
    
    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

    namespace mlir {
    namespace quant {
    namespace {
    
    using ::mlir::tf_saved_model::GetInitializerFunction;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType;
    
    constexpr StringRef kTfQuantSaveV2OpName = "tf_quant__save_save_v2";
    constexpr StringRef kTfQuantSaveReturnOpName = "tf_quant__save_return";
    
    // A pass that creates a new function that wraps the newly created SaveV2 op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSLATE_EXPORT_TF_DIALECT_OP_H_
    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSLATE_EXPORT_TF_DIALECT_OP_H_
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/utils/export_utils.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top