Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for cc_status (0.16 sec)

  1. tensorflow/c/kernels.cc

                                                       TF_Status* status) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      tensorflow::NameAttrList function;
      auto cc_status = cc_ctx->GetAttr(attr_name, &function);
      if (!cc_status.ok()) {
        tsl::Set_TF_Status_from_Status(status, cc_status);
        return nullptr;
      }
      TF_Buffer* buffer = TF_NewBuffer();
      cc_status = tensorflow::MessageToBuffer(function, buffer);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor.cc

        stats.num_allocs = c_stats.num_allocs;
        stats.bytes_in_use = c_stats.bytes_in_use;
        stats.peak_bytes_in_use = c_stats.peak_bytes_in_use;
        stats.largest_alloc_size = c_stats.largest_alloc_size;
        if (c_stats.has_bytes_limit) {
          stats.bytes_limit = c_stats.bytes_limit;
        }
        stats.bytes_reserved = c_stats.bytes_reserved;
        stats.peak_bytes_reserved = c_stats.peak_bytes_reserved;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

                             TF_Status* const status) -> void {
        *stream = new SP_Stream_st(1);
      };
      se_.destroy_stream = [](const SP_Device* const device,
                              SP_Stream stream) -> void { delete stream; };
      se_.create_event = [](const SP_Device* const device, SP_Event* event,
                            TF_Status* const status) -> void {
        *event = new SP_Event_st(2);
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/python/converter_python_api.cc

    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "flatbuffers/flatbuffer_builder.h"  // from @flatbuffers
    #include "tensorflow/c/kernels.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/compiler/mlir/lite/debug/debug_options.pb.h"
    #include "tensorflow/compiler/mlir/lite/metrics/error_collector.h"
    #include "tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_tpu_device.cc

      ApiConverter::StackHelper<XLA_Shape> tpu_shape;
      StatusHelper status;
      stream_executor::tpu::ExecutorApiFn()->XlaShapeToTpuShapeRepresentationFn(
          &se_shape.value, type, use_fast_memory, &tpu_shape.value,
          status.c_status);
      if (!status.status().ok()) {
        return status.status();
      }
      return tpu_shape.AsCpp<xla::Shape>();
    }
    
    // Given a tensor, returns the shape of its representation on device,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_test.go

    			cStatus := &runtimeapi.ContainerStatus{
    				Id:        cid.ID,
    				Metadata:  meta,
    				Image:     imageSpec,
    				State:     runtimeapi.ContainerState_CONTAINER_RUNNING,
    				CreatedAt: createdAt,
    				StartedAt: startedAt,
    				User:      test.input,
    			}
    			actual := toKubeContainerStatus(cStatus, cid.Type)
    			assert.EqualValues(t, test.expected, actual.User, desc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 28K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go

    			}
    
    			setCgroupVersionDuringTest(cgroupV1)
    
    			pod.Spec.Containers[0].Resources = v1.ResourceRequirements{Limits: tc.limits, Requests: tc.requests}
    			if len(tc.cStatus) > 0 {
    				pod.Status.ContainerStatuses = tc.cStatus
    			}
    			resources := m.generateLinuxContainerResources(pod, &pod.Spec.Containers[0], false)
    			tc.expected.HugepageLimits = resources.HugepageLimits
    			if !cmp.Equal(resources, tc.expected) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 41K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/03-controlling-transitive-dependencies/component_metadata_rules.adoc

    There are also a few properties of the whole component that can be changed:
    
    - The _component level attributes_, currently the only meaningful attribute there is `org.gradle.status`
    - The _status scheme_ to influence interpretation of the `org.gradle.status` attribute during version selection
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:10:53 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top