- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 129 for getg (0.65 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py
# 2. Create sample shapes. label_to_size = {'a': 4, 'b': 32, 'c': 64, 'd': 128, 'e': 8} x_shape = [label_to_size.get(x_label) for x_label in x_labels] y_shape = [label_to_size.get(y_label) for y_label in y_labels] bias_shape = None if use_bias: bias_shape = [label_to_size.get(out_label) for out_label in out_labels] bias_shape = bias_shape[-1:] contracting_dims = set()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 18.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy
import org.gradle.api.tasks.Optional; import java.io.File; public class SomeTask extends DefaultTask { private $type v; @Input public $type getV() { return v; } void setV($type v) { this.v = v; } File d; @OutputDirectory public File getD() { return d; } @TaskAction public void go() { } } """ buildFile << """ task someTask(type: SomeTask) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 36.3K bytes - Viewed (0) -
pkg/volume/fc/fc.go
// fc volumes used directly in a pod have a ReadOnly flag set by the pod author. // fc volumes used as a PersistentVolume gets the ReadOnly flag indirectly through the persistent-claim volume used to mount the PV fc, readOnly, err := getVolumeSource(spec) if err != nil { return nil, err } wwns, lun, wwids, err := getWwnsLunWwids(fc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java
private static void disable() { DISABLE_COUNT.set(DISABLE_COUNT.get() + 1); } private static void maybeEnable() { DISABLE_COUNT.set(DISABLE_COUNT.get() - 1); } private static boolean isEnabled() { // log deprecation messages only after the outermost whileDisabled finished execution return DISABLE_COUNT.get() == 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_context.cc
// Initially wait for the compute stream so that memory allocations are // synchronized. TF_RETURN_IF_ERROR(host_to_device_stream_->WaitFor(stream_.get())); } TF_RETURN_IF_ERROR(transfer_manager_->TransferLiteralToDeviceAsync( host_to_device_stream_.get(), literal, xla_tensor->shaped_buffer())); if (UseMultipleStreams()) { TF_ASSIGN_OR_RETURN(std::shared_ptr<se::Event> event,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 12.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics.go
decodeErrorCounts.WithLabelValues(resource).Inc() } // Reset resets the etcd_request_duration_seconds metric. func Reset() { etcdRequestLatency.Reset() } // sinceInSeconds gets the time since the specified start in seconds. // // This is a variable to facilitate testing. var sinceInSeconds = func(start time.Time) float64 { return time.Since(start).Seconds() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 21:15:32 UTC 2024 - 11K bytes - Viewed (0) -
tests/integration/pilot/tunneling_test.go
} if res.Responses[0].Code != "200" { return fmt.Errorf("expected to get 200 status code, got: %s", res.Responses[0].Code) } return nil } func verifyThatRequestWasTunneled(target echo.Instance, expectedSourceIPs []corev1.PodIP, expectedPath string) error { workloads, err := target.Workloads() if err != nil { return fmt.Errorf("failed to get workloads of %s: %s", target.ServiceName(), err) } var logs strings.Builder
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
.getSExtValue()]); } } return mlir::DenseElementsAttr::get( RankedTensorType::get( {static_cast<int>(new_permutation.size())}, mlir::IntegerType::get(permutation1.getContext(), 32)), llvm::ArrayRef(new_permutation)); } // Utility function to map final permutation to initial permutation
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy
newParameter.currentDir == new File(System.getProperty("user.dir")).getCanonicalFile() !newParameter.dryRun assertThat(newParameter, isSerializable()) } void "gets all init scripts"() { def gradleUserHomeDir = tmpDir.testDirectory.createDir("gradleUserHomeDie") def gradleHomeDir = tmpDir.testDirectory.createDir("gradleHomeDir")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 06:24:50 UTC 2024 - 14K bytes - Viewed (0) -
pkg/scheduler/apis/config/v1/default_plugins_test.go
}, }, Score: v1.PluginSet{ Disabled: []v1.Plugin{ {Name: "DefaultPlugin2"}, }, }, }, }, { name: "multipoint with only disabled gets merged", defaultPlugins: &v1.Plugins{ MultiPoint: v1.PluginSet{ Enabled: []v1.Plugin{ {Name: "DefaultPlugin"}, }, }, }, customPlugins: &v1.Plugins{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 15:03:04 UTC 2024 - 13.1K bytes - Viewed (0)