- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 129 for created (0.07 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
Value compilation_key, tf_device::LaunchOp compile_launch, OpBuilder* builder) { return builder->create<TF::TPUGetLayoutOp>( compile_launch.getLoc(), llvm::ArrayRef<Type>{RankedTensorType::get({ShapedType::kDynamic}, builder->getIntegerType(64))},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
const char* const kXlaClusterAttr = "_XlaCluster"; const char* const kXlaCompileTimeConstantInputsAttr = "_XlaCompileTimeConstantInputs"; namespace { // Returns a string describing how an edge from src to dst would // create a cycle. string DescribeCycle(const GraphCycles* cycles, const Graph& graph, int src, int dst) { int32_t max_path_size = graph.num_node_ids() + 1; std::vector<int32> path(max_path_size);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc
}; // Insert custom aggregation op between operand and operator. rewriter.setInsertionPointAfterValue(value); Operation *aggregator_op = rewriter.create<TF::CustomAggregatorOp>( op->getLoc(), output_types, value, attributes); Value aggregator_op_result = aggregator_op->getOpResult(0); value.replaceAllUsesExcept(aggregator_op_result, aggregator_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/jit/resource_operation_safety_analysis.cc
// producers before consumers, we can construct the set of reaching operations // by taking the union of the operations reaching the input nodes. These // "reaching resource operations" can then be used to create the pairs of // incompatible nodes using `IsEdgeSafe`. #include "tensorflow/compiler/jit/resource_operation_safety_analysis.h" #include "absl/container/flat_hash_set.h" #include "absl/memory/memory.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util.cc
const Edge* e; TF_RETURN_IF_ERROR(dst->input_edge(edges[i].dst_input, &e)); Node* src = e->src(); int src_output = e->src_output(), dst_input = e->dst_input(); g->RemoveEdge(e); // Find or create placeholder node. string new_name = absl::StrCat(src->name(), "_oc_to_oc_placeholder_", src_output); auto placeholder_index = std::make_pair(src->name(), src_output);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.5K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.cc
// not revisited in future calls to ScanForValue, so callers must take // care to order their calls. // // Useful for merging multiple sorted lists in O(n) time. class SinglePassSearch { public: // Creates a SinglePassSearch object that can be used to search in `values`. // Does not take ownership of `values`. `values` must outlive this. // `values` must be sorted. explicit SinglePassSearch(absl::Span<int const> values)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 30.3K bytes - Viewed (0) -
tensorflow/compiler/jit/partially_decluster_pass.cc
// the cluster. // // Declustering f will increase the number of compilations only if f is a // one-to-many "function" i.e. isn't a function at all. RNG is one possible // example, depending on how we look at it. But we never create clusters where // such f's would be marked as must-be-constant. // // We assume here that the extra repeated (repeated compared to a clustered f // where it will always be constant folded) host-side computation of f does not
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 15.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
} // Rewrite return if there are variable writes. const int return_operands_size = return_operands.size(); if (return_operands_size > num_results_before) { builder.create<func::ReturnOp>(return_op.getLoc(), return_operands); return_op.erase(); } // Update function argument and result types with new resource subtypes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
Value value = effect.getValue(); found_any_effect = true; // We only collect value-based side effects here for which we can use // resource alias analysis. Other side effects are treated as op-based // side effects. if (!ShouldUseResourceAliasAnalysis(effect)) continue; if (value) processed_values.insert(value); TypeID type_id = effect.getResource()->getResourceID();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
} CompositeOpScopes Scope::GetCompositeOpScopes( const string& composite_op_name) const { if (impl()->op_name_.empty() && composite_op_name.empty()) { UpdateStatus(errors::InvalidArgument( "Cannot create composite op scopes with empty name")); return {*this, *this}; } if (!impl()->single_use_scope()) { Scope child = NewSubScope(impl()->op_name_.empty() ? composite_op_name
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0)