Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,105 for Levine (0.13 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.h

     private:
      ParallelTensor(const ParallelDevice& device,
                     std::vector<TensorHandlePtr> tensors,
                     absl::Span<const int64_t> shape, const TF_DataType dtype)
          : device_(device),
            tensors_(std::move(tensors)),
            shape_(std::vector<int64_t>(shape.begin(), shape.end())),
            dtype_(dtype) {}
      ParallelTensor(const ParallelDevice& device,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 25 15:21:13 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. pkg/volume/util/fsquota/quota_linux.go

    	for scanner.Scan() {
    		match := common.MountParseRegexp.FindStringSubmatch(scanner.Text())
    		if match != nil {
    			device := match[1]
    			mount := match[2]
    			if mount == mountpoint {
    				return device, nil
    			}
    		}
    	}
    	return "", fmt.Errorf("couldn't find backing device for %s", mountpoint)
    }
    
    // detectBackingDev assumes that the mount point provided is valid
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 07 08:07:51 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/flags.h

        // `enabled_for_gpu_` below.
        bool enabled_for_all_;
    
        // If true, enable Device API (PjRt) for TF GPU device. This is a helper
        // flag so that individual tests can turn on PjRt for GPU specifically.
        // Once the rollout to GPU is complete, this flag can be deprecated.
        bool enabled_for_gpu_;
    
       private:
        // Devices for which using Device API (PjRt) is allowed in the XlaLaunch op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

    std::string GetHost(Operation *op) {
      std::string device = "";
      if (StringAttr attr = op->getAttrOfType<StringAttr>(kDeviceAttr)) {
        device = attr.getValue().str();
      }
      return GetHost(device);
    }
    
    // The device is considered to be on the localhost iff one of the following is
    // true:
    // 1) None of the job/replica/task is specified in the device name.
    // 2) The job/replica/task in the device name are explicitly specified as
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/compilability_check_util_test.cc

      *flib.add_function() = FunctionDefHelper::Define(
          /*Function*/ kCompilableFunctionName,
          /*Inputs*/ {"n_a:float", "n_b:float"},
          /*Outputs*/ {"n_c:float"},
          /*Attribute*/ {},
          // Node info
          {{{kCompilableFunctionNodeName},
            "Add",
            {"n_a", "n_b"},
            {{"T", DT_FLOAT}}}});
      *flib.add_function() = FunctionDefHelper::Define(
          /*Function*/ kUncompilableFunctionName,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

    //              {n = 2 : i32,
    //               devices = {DEVICE_ALIAS_0 = ["/DEVICE:0", "/DEVICE:1"],
    //                          DEVICE_ALIAS_1 = ["/DEVICE:2", "/DEVICE:3"]}} {
    //     %a = "tf_device.launch"() ({
    //       %2 = "tf.opA"(%ri) : (tensor<i1>) -> tensor<i1>
    //       tf_device.return %2 : tensor<i1>
    //     }) {device = "DEVICE_ALIAS_0"} : () -> tensor<i1>
    //     %b = "tf_device.launch"() ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_launch_util.h

    xla::ExecuteOptions GetPjRtExecuteOptions(
        const DeviceType& device_type,
        absl::flat_hash_set<int> non_donatable_input_indices);
    
    // Returns the device ordinal from the parsed name of the device.
    int GetDeviceOrdinal(const DeviceBase* device);
    
    // Returns the device type from the OpKernelContext.
    DeviceType GetDeviceType(OpKernelContext* ctx);
    
    // Runs `executable` and populates the outputs in `ctx`. `inputs` and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/aot/tests/tfcompile_test.cc

      Eigen::ThreadPool tp(1);
      Eigen::ThreadPoolDevice device(&tp, tp.NumThreads());
    
      VariableReadonlyComp fn;
      float x = 23;
      fn.set_var_x_data(&x);
    
      fn.set_thread_pool(&device);
      fn.Run();
      EXPECT_EQ(fn.result0(), 65);
      EXPECT_EQ(fn.var_x(), 23);
    }
    
    TEST(TFCompileTest, Variable) {
      Eigen::ThreadPool tp(1);
      Eigen::ThreadPoolDevice device(&tp, tp.NumThreads());
    
      VariableComp fn;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let description = [{
        The ExecuteOp executes an operation on the specified device using a custom device.
      }];
    
      let arguments = (ins
        TFDeviceType:$device,
        Variadic<TFTensorType>:$args,
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

    #include "tsl/lib/core/status_test_util.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Produce a valid graph with a resource-type input.
    FunctionDef PassThroughResource() {
      return FunctionDefHelper::Define(
          /*function_name=*/"PassThroughResource",
          /*arg_def=*/{"in: resource"},
          /*ret_def=*/{"out: resource"},
          /*attr_def=*/{},
          /*node_def=*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top