- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for channel_idx (0.18 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
for (size_t channel_idx = 0; channel_idx < out_channel_size; channel_idx++) { for (size_t j = 0; j < num_values_in_channel; j++) { size_t element_idx = channel_idx * out_channel_size + j; auto scale = weights_scales[channel_idx]; auto zero_point = weights_zero_points[channel_idx]; auto dequantized_value = weight_values[element_idx] * scale;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
uint64_t channel_dim) { return rw.getWindowDimensions().getValues<int64_t>()[batch_dim] == 1 && rw.getWindowDimensions().getValues<int64_t>()[channel_dim] == 1 && (*window_strides)[batch_dim] == 1 && (*window_strides)[channel_dim] == 1 && padding[2 * batch_dim] == 0 && padding[2 * batch_dim + 1] == 0 && padding[2 * channel_dim] == 0 &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/InterHubMessageSerializerTest.groovy
def message1 = new ChannelMessage(channelId1, "payload 1") def message2 = new ChannelMessage(channelId2, "payload 2") def message3 = new ChannelMessage(channelId1, "payload 3") when: def serialized = serialize(message1, message2, message3) def result = deserializeMultiple(serialized, 3) then: result[0] instanceof ChannelMessage
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
public: // Does not take any ownership. Caller must ensure channel_id is valid during // life-cylce of this object. CollectiveRewritePattern(MLIRContext* context, int64_t* channel_id) : OpRewritePattern<T>(context), channel_id_(*channel_id) {} protected: int64_t& channel_id_; // A unique channel_id shared by all rewrite patterns // in this pass. Not thread-safe. };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/InterHubMessageSerializer.java
int channelNum = decoder.readSmallInt(); ChannelIdentifier channelId = channels.get(channelNum); if (channelId == null) { String channel = decoder.readString(); channelId = new ChannelIdentifier(channel); channels.put(channelNum, channelId); } return channelId; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
int64_t next() { return channel_id_.fetch_add(1, std::memory_order_relaxed); } private: // All usage code expects positive int64_t values so we can't use uint64_t // and will just have to limit ourselves to half the number space. std::atomic<int64_t> channel_id_ = 1; }; int64_t GetNextChannelId() { static ChannelIdGenerator* channel_id = new ChannelIdGenerator(); return channel_id->next(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
absl::Span<AbstractTensorHandle*> grad_inputs) override { /* Given upstream grad U and a BiasAdd: A + bias, the gradients are: * * dA = U * dbias = reduceSum(U, dims = channel_dim) */ AbstractTensorHandle* upstream_grad = grad_outputs[0]; DCHECK(upstream_grad); // Recover data format from forward pass for gradient. std::string data_format;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 09 06:38:45 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
const double ele_value = FloatAttr::getValueAsDouble(*it); const int slice_index = flatten_index / slice_size; const int channel_index = slice_index % dim_size; mins[channel_index] = std::min(mins[channel_index], ele_value); maxs[channel_index] = std::max(maxs[channel_index], ele_value); } // Expand range to include 0. for (int i = 0; i < dim_size; ++i) { maxs[i] = std::max(maxs[i], 0.0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/cc/gradients/nn_grad_test.cc
attrs.is_training_ = std::get<0>(GetParam()); bool channel_first = std::get<1>(GetParam()); TensorShape shape = std::get<2>(GetParam()); int channel_dim = (channel_first) ? 1 : shape.dims() - 1; TensorShape scale_shape({shape.dim_size(channel_dim)}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape)); auto scale = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(scale_shape));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 22 20:45:22 UTC 2022 - 15K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocatorTest.groovy
"enginePath": "C:\\\\Program Files\\\\Microsoft Visual Studio\\\\Installer\\\\resources\\\\app\\\\ServiceHub\\\\Services\\\\Microsoft.VisualStudio.Setup.Service", "channelId": "VisualStudio.15.Release", "channelPath": "C:\\\\Users\\\\IEUser\\\\AppData\\\\Local\\\\Microsoft\\\\VisualStudio\\\\Packages\\\\_Channels\\\\4CB340F5\\\\catalog.json",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.6K bytes - Viewed (2)