Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 879 for shade (0.04 sec)

  1. tensorflow/c/kernels/ops/bitcast.cc

      if (input_type_size < output_type_size) {
        TF_ShapeInferenceContextWithRankAtLeast(ctx, shape, 1, shape, status);
    
        if (TF_GetCode(status) == TF_OK) {
          TF_DimensionHandle* last_dim = TF_NewDimensionHandle();
          size_t divisor_val = output_type_size / input_type_size;
          TF_ShapeInferenceContextDim(ctx, shape, -1, last_dim);
          if (!TF_DimensionHandleValueKnown(last_dim) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack_test.cc

      dltensor_in->device = {kDLCPU, 0};
      dltensor_in->ndim = static_cast<int32_t>(shape.size());
      dltensor_in->dtype = {kDLFloat, 32, 1};
      dltensor_in->shape = shape.data();
      dltensor_in->strides = strides.data();
      TFE_TensorHandle* handle = TFE_HandleFromDLPack(&dlm_in, status, ctx);
      ASSERT_NE(handle, nullptr)
          << TF_Message(status) << " (shape=[" << absl::StrJoin(shape, ",")
          << "], strides=[" << absl::StrJoin(strides, ",") << "])";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 30 03:04:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.json

        {
          "tensors": [
            {
              "shape": [1, 5, 2],
              "name": "input0"
            },
            {
              "shape": [2, 5],
              "buffer": 1,
              "name": "input2input_weights1"
            },
            {
              "shape": [2, 5],
              "buffer": 2,
              "name": "input2forget_weights2"
            },
            {
              "shape": [2, 5],
              "buffer": 3,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/helper/shape_score.go

    // Shape[i].Score represents function values at meeting points.
    //
    // function f(p) is defined as:
    //
    //	shape[0].Score for p < shape[0].Utilization
    //	shape[n-1].Score for p > shape[n-1].Utilization
    //
    // and linear between points (p < shape[i].Utilization)
    func BuildBrokenLinearFunction(shape FunctionShape) func(int64) int64 {
    	return func(p int64) int64 {
    		for i := 0; i < len(shape); i++ {
    			if p <= int64(shape[i].Utilization) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_output.py

      @tf.function(input_signature=[])
      def f0001_multiple_results_no_punctuation(self):
        return tf.constant(1.0, shape=[1]), tf.constant(1.0, shape=[2])
    
      # Check index paths for results written explicitly with parentheses.
      # This is semantically equivalent to the earlier test without parentheses,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_host_send_device_context.h

    //  se::DeviceMemoryBase gpu_dst{device_tensor.data(), 4 * sizeof(float)};
    //  xla::Shape shape(xla::F32, {2, 2}, {}, {})
    //  tsl::AsyncValueRef<std::unique_ptr<se::Event>> done_event =
    //      tsl::MakeConstructedAsyncValueRef<std::unique_ptr<se::Event>>(stream.parent());
    //  done_event->Init();
    //
    //  XlaHostSendDeviceContext device_context(&stream, &gpu_dst,
    //    shape, done_event);
    //  device_context.CopyCPUTensorToDeviceSync(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. tensorflow/c/tf_shape.cc

      return tensorflow::wrap(new tensorflow::PartialTensorShape());
    }
    
    int TF_ShapeDims(const TF_Shape* shape) {
      return tensorflow::unwrap(shape)->dims();
    }
    
    int64_t TF_ShapeDimSize(const TF_Shape* shape, int d) {
      return tensorflow::unwrap(shape)->dim_size(d);
    }
    
    void TF_DeleteShape(TF_Shape* shape) { delete tensorflow::unwrap(shape); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 30 00:25:41 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_tensor_handle.cc

    namespace tensorflow {
    
    std::string AbstractTensorHandle::DebugString() const {
      PartialTensorShape shape;
      Status s = Shape(&shape);
      std::string shape_string;
      if (!s.ok()) {
        shape_string = "<error computing shape>";
      } else {
        shape_string = shape.DebugString();
      }
      return absl::StrCat("TensorHandle(shape=", shape_string,
                          ", dtype=", DataType_Name(DataType()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

      // CHECK-SAME: recv_key = "host_compute_channel_recv"
      // CHECK-SAME: send_key = "host_compute_channel_send"
      // CHECK-SAME: shape_inference_graph = @host_func
      // CHECK-SAME: shapes = [#tf_type.shape<*>, #tf_type.shape<3x?>]
      // CHECK-SAME: tpu_core = 0 : i64
      // CHECK: func @host_func
      // CHECK: %[[RECV_OUTPUT:[0-9]*]]:2 = "tf._XlaRecvAtHost"
      // CHECK-SAME: key = "host_compute_channel_send"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h

    // Converts a shape from MLIR to a TensorFlow tensor shape proto.
    void ConvertToTensorShapeProto(llvm::ArrayRef<int64_t> shape,
                                   TensorShapeProto* output_shape);
    
    // Converts an MLIR type to a TensorFlow tensor shape.
    PartialTensorShape ConvertTypeToTensorShape(const mlir::Type& type);
    
    // Converts an MLIR shaped type to a TensorFlow shape attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top