Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 847 for device_1 (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_device.h

    #include "mlir/Interfaces/SideEffectInterfaces.h"  // from @llvm-project
    
    namespace mlir {
    namespace tf_device {
    
    // The TensorFlow Device dialect.
    //
    // This dialect contains operations to describe/launch computations on devices.
    // These operations do not map 1-1 to TensorFlow ops and requires a lowering
    // pass later to transform them into Compile/Run op pairs, like XlaCompile and
    // XlaRun.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 22 14:25:57 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/tpu_cluster_util.cc

        std::function<WalkResult(Operation*, tf_device::ClusterOp,
                                 std::optional<std::string>)>
            callback) {
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices))) return failure();
      const CallGraph call_graph(module);
      // symbol_table caches callees in the CallGraph.
      SymbolTableCollection symbol_table;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

        const auto sharding_type = sharding.type();
        if (sharding_type == xla::OpSharding::OTHER) {
          for (const auto& device : sharding.tile_assignment_devices()) {
            CHECK(device >= 0 && device < input_mappings.size());
            input_mappings[device].push_back(idx);
          }
        } else if (sharding_type == xla::OpSharding::REPLICATED) {
          for (auto& input : input_mappings) input.push_back(idx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tensor_device_copy_conversion.cc

              TensorDeviceCopyConversionPass> {
      void runOnOperation() override;
    };
    
    // Folds tf.IdentityOp and tf.IdentityNOp if op device and the argument devices
    // from the defining ops match.
    void TensorDeviceCopyConversionPass::runOnOperation() {
      func::FuncOp func_op = getOperation();
    
      auto should_fold_op_func = [&func_op](const Value &arg,
                                            const StringAttr &op_device) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/podresources/server_v1alpha1.go

    // with device information provided by the DevicesProvider
    func NewV1alpha1PodResourcesServer(providers PodResourcesProviders) v1alpha1.PodResourcesListerServer {
    	return &v1alpha1PodResourcesServer{
    		podsProvider:    providers.Pods,
    		devicesProvider: providers.Devices,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 17:33:01 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  6. android-test/README.md

    Android Test
    ============
    
    A gradle module for running Android instrumentation tests on a device or emulator.
    
    1. Add an Emulator named `pixel5`, if you don't already have one
    
    ```
    $ sdkmanager --install "system-images;android-29;google_apis;x86"
    $ echo "no" | avdmanager --verbose create avd --force --name "pixel5" --device "pixel" --package "system-images;android-29;google_apis;x86" --tag "google_apis" --abi "x86"
    ```
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

        ctx_->loadAllAvailableDialects();
    
        // Create a CPU client with 1 device.
        TF_ASSERT_OK_AND_ASSIGN(
            pjrt_client_,
            xla::GetTfrtCpuClient(/*asynchronous=*/false, /*cpu_device_count=*/1));
        device_ = pjrt_client_->addressable_devices().front();
        CHECK(device_);
      }
    
      absl::StatusOr<OwningOpRef<ModuleOp>> ReplaceFuncArgsByConstant(
          absl::string_view program,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_volumes_test.go

    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    						PDName: "fake-device1",
    					},
    				},
    			},
    			{
    				Name: "vol2",
    				VolumeSource: v1.VolumeSource{
    					GCEPersistentDisk: &v1.GCEPersistentDiskVolumeSource{
    						PDName: "fake-device2",
    					},
    				},
    			},
    		},
    	})
    
    	stopCh := runVolumeManager(kubelet)
    	defer close(stopCh)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

            int_attr.getSplatValue<APInt>() == raw_value)
          return true;
      }
    
      return false;
    }
    
    // Returns true if `op` is placed on GPU device, and false if it's on other
    // devices or the device is not specified.
    bool IsOnGpuDevice(mlir::Operation *op);
    
    // Wrappers for CopyDeviceAndUnderscoredAttributes
    void CopyDeviceAndUnderscoredAttributesAdaptor(mlir::OpResult src,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

          }) {device = "/job:worker/replica:0/task:0/device:CPU:0"} : () -> (tensor<!tf_type.string>, tensor<3x!tf_type.string>)
          "tf_device.launch"() ( {
            "tf.TPUCompileSucceededAssert"(%0#0) : (tensor<!tf_type.string>) -> ()
            tf_device.return
          }) {device = "/job:worker/replica:0/task:0/device:CPU:0"} : () -> ()
          %1 = "tf_device.launch"() ( {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top