- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 408 for Indices (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h
additional_attributes.end()) {} // Name of the output kernel implementing the contraction fusion. std::string output_kernel; // Indices of additional arguments that will be forwarded to the fused // operation (e.g. forward bias vector if fusing BiasAdd operation). SmallVector<int, 4> additional_arguments; // Add additional attributes to the fused node.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 03 19:26:14 UTC 2023 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go
func fairAlloc(demands []float64, capacity float64) []float64 { count := len(demands) indices := make([]int, count) for i := 0; i < count; i++ { indices[i] = i } sort.Slice(indices, func(i, j int) bool { return demands[indices[i]] < demands[indices[j]] }) alloc := make([]float64, count) var next int var prevAlloc float64 for ; next < count; next++ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 58.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc
SmallVector<tf_device::ClusterFuncOp, 4> cluster_funcs; ModuleOp module = getOperation(); module.walk([&](tf_device::ClusterFuncOp cluster_func) { // Map resource values to pair of input-output indices. llvm::DenseMap<Value, AliasInfo> resource_alias_info_map; if (failed(BuildAliasingInfo(cluster_func, resource_alias_info_map)) || resource_alias_info_map.empty()) { return; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 04:14:26 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/jit/compilability_check_util.h
const XlaOpRegistry::DeviceRegistration& registration); // Given a FunctionLibraryRuntime and a `function`, returns this function's body // in `fbody` as well as the indices of its constant and resource arguments. // `fbody` is owned by `flr`. // `constant_arg_indices` and `resource_arg_indices` should be empty vector. // They are sorted in ascending order on this function's return.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc
is_op_inside_IfRegions)) { return_indices_to_keep.push_back(index_and_value.index()); } } return return_indices_to_keep; } // Return a vector of the return indices. llvm::SmallVector<llvm::SmallVector<int, 4>> GetReturnIndicesVec( const llvm::SmallVector<TF::IfRegionOp, 8>& if_op_segment) { llvm::SmallVector<llvm::SmallVector<int, 4>> return_indices_vec;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 25.9K bytes - Viewed (0) -
src/go/types/exprstring.go
buf.WriteByte('.') buf.WriteString(x.Sel.Name) case *ast.IndexExpr, *ast.IndexListExpr: ix := typeparams.UnpackIndexExpr(x) WriteExpr(buf, ix.X) buf.WriteByte('[') writeExprList(buf, ix.Indices) buf.WriteByte(']') case *ast.SliceExpr: WriteExpr(buf, x.X) buf.WriteByte('[') if x.Low != nil { WriteExpr(buf, x.Low) } buf.WriteByte(':') if x.High != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 19:31:44 UTC 2024 - 4.8K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt
it.sourceCodePoint1 < codePoint -> -1 it.sourceCodePoint0 > codePoint -> 1 else -> 0 } } // Code points must be in 0..0x10ffff. require(index in mappings.indices) { "unexpected code point: $codePoint" } val mapping = mappings[index] var result = true when (mapping.type) { TYPE_IGNORED -> Unit TYPE_MAPPED, TYPE_DISALLOWED_STD3_MAPPED -> {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h
// Returns whether the sharding is replicated. It includes sharding with // REPLICATED type and replicated OTHER type. bool IsReplicatedSharding(const xla::OpSharding& sharding); // Returns a map of dimension indices and number of splits for tiled sharding. absl::StatusOr<std::map<int, int>> GetDimensionIndicesAndNumSplitsFromSharding( const xla::OpSharding& sharding); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 28 22:18:34 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_parallel_execute_sink_resource_write.cc
const int num_regions = parallel_execute.getNumRegions(); llvm::SmallVector<Value, 4> results_to_remap; // Go through each region and find AssignVariableOps that can be moved into // the parallel_execute region. Result indices by region index are collected, // so they can be removed afterwards. llvm::SmallVector<llvm::SmallVector<int, 4>, 4> results_to_remove_by_region; results_to_remove_by_region.resize(num_regions);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 06 04:46:18 UTC 2022 - 6.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/infer.go
smap := makeSubstMap(tparams, targs) params = check.subst(nopos, params, smap, nil, check.context()).(*Tuple) } // Unify parameter and argument types for generic parameters with typed arguments // and collect the indices of generic parameters with untyped arguments. // Terminology: generic parameter = function parameter with a type-parameterized type u := newUnifier(tparams, targs, check.allowVersion(pos, go1_21))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 13:54:20 UTC 2024 - 26.4K bytes - Viewed (0)