- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 58 for do (0.02 sec)
-
tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc
// First, we need to convert from functional, to executor dialect. pm.addNestedPass<FuncOp>( mlir::CreateFunctionalToExecutorDialectConversionPass()); // Do a single pass to split the graph's single island op into an island per // op as expected by the following passes. pm.addNestedPass<FuncOp>(mlir::TF::CreateSplitIntoIslandPerOpPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.cc
const jit::DeviceInfoCache& device_info_cache, const jit::DeviceSet& devices, bool allow_mixing_unknown_and_cpu, bool failure_to_pick_is_error) { #define FAILED_TO_PICK_DEVICE(failing_status) \ do { \ if (failure_to_pick_is_error) { \ return failing_status; \ } else { \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc
Type type = GetGlobalType(source); std::string name = GetVariableName(source); if (auto existing = symbol_table.lookup<ml_program::GlobalOp>(name)) { // This might be of a different type, but we'll do a Cast later. return existing; } Attribute initial_value = GetInitialValue(source); if (!initial_value) { initial_value = builder.getZeroAttr(type); if (!initial_value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc
} return it->second.potentially_written; } // Analyze the specified region for resource mutating operations, namely // TF::AssignVariableOp, if so, set the resource associated as "potentially // written". Do this recursively across the chain of regions via call or // control flow ops. // TODO(ashwinm): Move to iterative traversal. LogicalResult ResourceAnalyzer::AnalyzeRegion(Region& region) { // Avoid infinite recursion.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 8K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/runtime/runtime.cc
Function tf_function; for (const std::string& fn_name : child_node.function().concrete_functions()) { // Setup input signature. // // For now, we have to do a lot of manual digging through these and // assume they are tensorspecs. Once TODO(b/190203981) is done, we // should be able to pass along the `StructuredValue`s to an API in a // much cleaner way.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 7.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc
PatternRewriter& rewriter) { // Move the first block of `tf_then_or_else_region` into the first block // of `scf_then_or_else_region` and do not add any arguments to the block. moveBlock(&tf_then_or_else_region.front(), &scf_then_or_else_region.front(), TypeRange(), rewriter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 9.4K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_file_renderer.cc
limitations under the License. ==============================================================================*/ )"; static const char *machine_generated = "// This file is MACHINE GENERATED! Do not edit."; CppFileRenderer::CppFileRenderer(RendererContext context, const std::vector<OpView> &ops) : Renderer(context), guard_(context), name_space_(context),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 05:51:40 UTC 2024 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization_lib.cc
using ::tensorflow::SignatureDef; using ::tensorflow::quantization::PyFunctionLibrary; // Note for maintainers: the definitions should ONLY mirror existing functions // defined in different targets. Do not include any extra business logic that // causes divergence from the semantics of mirrored functions. absl::Status PywrapQuantizeStaticRangePtq( absl::string_view src_saved_model_path,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 02:51:53 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc
TF::TensorFlowDialect::getDialectNamespace()) return failure(); // Refining types may have implications to the attached regions or symbol // references so do not update such ops. if (!op->getRegions().empty() || HasSymbolRefAttr(op)) return failure(); IRMapping mapper; bool has_type_change = false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util_test.cc
} TEST(PickDeviceForXla, MoreSpecificDevice) { CheckPickDeviceResult(kCPU0, false, {kCPU0, kCPU0Partial}); CheckPickDeviceResult(kGPU0, false, {kGPU0, kGPU0Partial}); // Unknown devices do not support merging of full and partial specifications. CheckPickDeviceHasError(false, {kXPU1, kXPU0Partial}); } TEST(PickDeviceForXla, DeviceOrder) { CheckPickDeviceResult(kGPU0, false, {kGPU0, kCPU0});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 5K bytes - Viewed (0)