- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 657 for const2 (0.32 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
" (", num_tasks, " * ", num_tpus_per_task, " * ", kTPUTopologyRank, "), got ", topology_proto.device_coordinates_size())); const int bound_x = topology_proto.mesh_shape(0); const int bound_y = topology_proto.mesh_shape(1); const int bound_z = topology_proto.mesh_shape(2); const int bound_core = topology_proto.mesh_shape(3); xla::Array4D<TaskAndDevice> topology(bound_x, bound_y, bound_z, bound_core); int pos = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/arg_view.cc
string ArgView::VariableName() const { return arg_.name(); } string ArgView::SetterMethod() const { if (IsList()) { return "AddInputList"; } else { return "AddInput"; } } std::vector<string> ArgView::SetterArgs() const { return {VariableName()}; } bool ArgView::IsList() const { return arg_.arg_type().is_list(); } int ArgView::Position() const { return arg_.position(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h
// pass the filter (returning true) will be included. const llvm::SmallVector<Operation*, 4>& DirectControlPredecessors( Operation* op) const; llvm::SmallVector<Operation*, 4> DirectControlPredecessors( Operation* op, llvm::function_ref<bool(Operation*)> filter) const; // pass the filter (returning true) will be included. const llvm::SmallVector<Operation*, 4>& DirectControlSuccessors(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.h
// IsUnknownResource(resource) == false. const llvm::SmallSet<int64_t, 8>& GetResourceUniqueIds(Value resource) const; // Returns the set of values that are potentially aliases of `value`. Requires // `IsUnknownResource(resource) == false`. llvm::SmallSetVector<Value, 8> GetResourceAliases(Value resource) const; llvm::SmallSetVector<Value, 8> GetValuesForResourceId(int64_t id) const { auto it = id_to_resource_values_.find(id);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/view_util.cc
namespace tensorflow { namespace generator { string Call(const string& object, const string& method, std::vector<string> arguments, const char* oper) { return absl::Substitute("$0$1$2($3)", object, oper, method, absl::StrJoin(arguments, ", ")); } string Call(const string& function, std::vector<string> arguments) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/stream_executor/stream_executor.cc
return absl::OkStatus(); } absl::Status ValidateSPAllocatorStats(const SP_AllocatorStats& stats) { TF_VALIDATE_STRUCT_SIZE(SP_AllocatorStats, stats, SP_ALLOCATORSTATS_STRUCT_SIZE); // All other fields could theoretically be zero/null. return absl::OkStatus(); } absl::Status ValidateSPDeviceMemoryBase(const SP_DeviceMemoryBase& mem) { TF_VALIDATE_STRUCT_SIZE(SP_DeviceMemoryBase, mem,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 14 07:39:19 UTC 2024 - 27.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
std::string has_side_effect_key = "has_side_effect"; bool has_side_effect_set = false; const flexbuffers::Map& computation_map = flexbuffers::GetRoot(op->custom_attributes).AsMap(); const auto& keys = computation_map.Keys(); for (size_t i = 0; i < keys.size(); ++i) { const auto key = keys[i].AsKey(); const auto& value = computation_map[key]; if (has_side_effect_key == key) has_side_effect_set = true;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
// enable logging. inline const char kBridgeComponent[] = "TFXLABridge"; inline const char kMlirPh1BridgeCounterReplicated[] = "replicated"; inline const char kMlirPh1BridgeCounterNonReplicated[] = "nonreplicated"; inline const char kMlirPh1BridgeCounterV1[] = "v1"; inline const char kMlirPh1BridgeCounterV2[] = "v2"; inline const char kMlirPh1BridgeCounterTpu[] = "tpu"; inline const char kMlirPh1BridgeCounterNonTpu[] = "cpu/gpu";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/source_code.cc
namespace generator { string SourceCode::Render() const { string code; for (const Line& line : lines_) { absl::StrAppend(&code, string(line.indent * spaces_per_indent_, ' '), line.text, "\n"); } return code; } void SourceCode::AddLineWithIndent(const string& line) { ValidateAndAddLine(current_indent_, line); } void SourceCode::AddLineWithoutIndent(const string& line) { ValidateAndAddLine(0, line);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir
// CHECK: %[[ELEM_0:.*]] = "tf.Const"() // CHECK: {ici_weight_distribution_mlir_bridge_marker = true} // CHECK-NEXT: %[[SHAPE_0:.*]] = "tf.Const"() // CHECK: {ici_weight_distribution_mlir_bridge_marker = true} // CHECK-NEXT: %[[FULL_0:.*]] = "tf.Fill"(%[[SHAPE_0]], %[[ELEM_0]]) {ici_weight_distribution_mlir_bridge_marker = true} // CHECK: %[[ELEM_1:.*]] = "tf.Const"()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 2.9K bytes - Viewed (0)