- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 6,625 for functor (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h
std::unique_ptr<Graph>* graph, FunctionLibraryDefinition* flib_def); // Converts an MLIR function and adds it to a FunctionLibraryDefinition. Status ConvertMlirFunctionToFunctionLibraryDef(mlir::func::FuncOp func, const GraphExportConfig& configs, FunctionDef* function_def);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td
let constructor = "TFDevice::CreateResourceOpLiftingPass()"; } def ResourceOpLiftingForMainFunctionPass : 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 :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 18:52:57 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.h
// returned value are function name -> alias mappings. `function_aliases` is // the function alias mapping of the original function. The original function's // name is retrieved by looking at the "tf._original_func_name" string attribute // attached to a `func::FuncOp`. void UpdateFunctionAliases( absl::flat_hash_map<FunctionName, FunctionAlias>& function_aliases, ModuleOp module_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc
// Optimizes TF graph via cleanups, merges, rewrites, constant folding, // and edge case handling where possible. pm.addNestedPass<func::FuncOp>(TF::CreateDropWhileShapeInvariantPass()); pm.addNestedPass<func::FuncOp>( tf_executor::CreateTFExecutorGraphPruningPass()); pm.addNestedPass<func::FuncOp>( tf_executor::CreateTFExecutorIslandCoarseningPass()); pm.addPass(TF::CreateTFFunctionalControlFlowToRegions());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 04:34:23 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc
explicit PrepareCompositeFunctionsPass() {} private: // TODO(b/160915525): Consolidate FuncAttr and StringAttr into one. void ConvertTFImplements(func::FuncOp func, StringAttr attr); void ConvertTFImplementsWithAttributes(func::FuncOp func, FuncAttr attr); void ConvertTFAPIImplements(func::FuncOp func, StringAttr attr, ModuleOp module); void runOnOperation() override; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
// argument to the `cluster_func` directly feeds into another function call op, // then recursively walk the function definition to find the connected // XlaSharding op. void IdentifyXlaShardingForComputationInputs( const llvm::SmallVector<std::string>& logical_device_vec, bool infer_from_computation, mlir::tf_device::ClusterFuncOp cluster_func, mlir::func::FuncOp func, Builder* builder,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
sb := ldr.MakeSymbolUpdater(state.pcheader) sb.SetAddr(ctxt.Arch, textStartOff, ldr.Lookup("runtime.text", 0)) } // walkFuncs iterates over the funcs, calling a function for each unique // function and inlined function. func walkFuncs(ctxt *Link, funcs []loader.Sym, f func(loader.Sym)) { ldr := ctxt.loader seen := make(map[loader.Sym]struct{}) for _, s := range funcs { if _, ok := seen[s]; !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/manipulate_model_attr.h
namespace mlir { namespace quant { // Adds a new input name to the `inputs` field of the `tf.entry_function` // attribute if the attribute exist in the given function. Otherwise, no // attribute is modified. void AddEntryFunctionInput(StringRef input_name, func::FuncOp func_op); } // namespace quant } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 26 01:13:26 UTC 2023 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.h
// function name when loading it back. inline constexpr StringRef kOriginalStablehloEntryFunctionAttrName = "_original_entry_function"; // FunctionCallOpType to be generated as the function call operator when // function lifting will happen. enum FunctionCallOpType { TFPartitionedCallOp = 0, TFXlaCallModuleOp = 1 }; // Checks if an op is inside a lifted function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_remove_vars_in_session_initializer.mlir
// Test case: No matching function for the given session initializer. // expected-error@+1 {{'tf_saved_model.session_initializer' op the initializer function does not exist}} "tf_saved_model.session_initializer"() { initializers = [@init] } : () -> () } // ----- module attributes {tf_saved_model.semantics} { // Test case: Invalid multiple blocks in the initializer funcion.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 00:22:36 UTC 2023 - 5.2K bytes - Viewed (0)