/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/ |
D | tpu_reorder_replicate_and_partitioned_inputs.mlir | 4 …resource<tensor<10x3xf32>>>, [[ARG1:%.*]]: tensor<!tf_type.resource<tensor<10x3xf32>>>, [[ARG2:%.*… 5 …resource<tensor<10x3xf32>>>, %arg1: tensor<!tf_type.resource<tensor<10x3xf32>>>, %arg2: tensor<!tf… 9 …: i64} : (tensor<!tf_type.resource<tensor<10x3xf32>>>, tensor<!tf_type.resource<tensor<10x3xf32>>>… 10 …: i64} : (tensor<!tf_type.resource<tensor<10x3xf32>>>, tensor<!tf_type.resource<tensor<10x3xf32>>>… 11 …%pi_1) : (tensor<!tf_type.resource<tensor<10x3xf32>>>, tensor<!tf_type.resource<tensor<10x3xf32>>>… 13 return %ri : tensor<!tf_type.resource<tensor<10x3xf32>>> 17 …resource<tensor<10x3xf32>>>, [[ARG1:%.*]]: tensor<!tf_type.resource<tensor<10x3xf32>>>, [[ARG2:%.*… 18 …resource<tensor<10x3xf32>>>, %arg1: tensor<!tf_type.resource<tensor<10x3xf32>>>, %arg2: tensor<!tf… 22 …: i64} : (tensor<!tf_type.resource<tensor<10x3xf32>>>, tensor<!tf_type.resource<tensor<10x3xf32>>>… 23 …: i64} : (tensor<!tf_type.resource<tensor<10x3xf32>>>, tensor<!tf_type.resource<tensor<10x3xf32>>>… [all …]
|
D | tpu_resource_partitioning.mlir | 1 // RUN: tf-opt %s -tf-tpu-resource-partition | FileCheck %s 6 …/ CHECK-SAME: ([[ARG0:%.+]]: tensor<!tf_type.resource<tensor<i32>>>, [[ARG1:%.+]]: tensor<!tf_type… 7 func @read_write_resource(%arg0: tensor<!tf_type.resource<tensor<i32>>>, %arg1: tensor<!tf_type.res… 13 …= -1 : i64} : (tensor<!tf_type.resource<tensor<i32>>>, tensor<!tf_type.resource<tensor<i32>>>) -> … 14 %1 = "tf.ReadVariableOp"(%0) : (tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32> 22 "tf.AssignVariableOp"(%0, %2) : (tensor<!tf_type.resource<tensor<i32>>>, tensor<i32>) -> () 27 …/ CHECK-SAME: ([[ARG0:%.+]]: tensor<!tf_type.resource<tensor<i32>>>, [[ARG1:%.+]]: tensor<!tf_type… 28 func @read_only_resource(%arg0: tensor<!tf_type.resource<tensor<i32>>>, %arg1: tensor<!tf_type.reso… 34 …= -1 : i64} : (tensor<!tf_type.resource<tensor<i32>>>, tensor<!tf_type.resource<tensor<i32>>>) -> … 35 %1 = "tf.ReadVariableOp"(%0) : (tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32> [all …]
|
D | stack_ops_decomposition.mlir | 13 …// CHECK-NEXT: %[[BUFFER:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<10xf… 14 …// CHECK-NEXT: %[[SIZE:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<1xi32>… 18 …tackV2"(%max_size) {elem_type = f32, stack_name = "s"} : (tensor<i32>) -> tensor<!tf_type.resource> 19 %id = "tf.Identity"(%stack) : (tensor<!tf_type.resource>) -> tensor<!tf_type.resource> 27 …// CHECK-NEXT: "tf.AssignVariableOp"(%[[BUFFER]], %[[UPDATE]]) : (tensor<!tf_type.resource<tensor<… 30 …// CHECK-NEXT: "tf.AssignVariableOp"(%[[SIZE]], %[[NEW_SIZE]]) : (tensor<!tf_type.resource<tensor<… 31 …%push = "tf.StackPushV2"(%id, %elem) {swap_memory = false} : (tensor<!tf_type.resource>, tensor<f3… 32 %pop = "tf.StackPopV2"(%stack) : (tensor<!tf_type.resource>) -> tensor<f32> 41 …// CHECK-NEXT: "tf.AssignVariableOp"(%[[SIZE]], %[[SUB]]) : (tensor<!tf_type.resource<tensor<1xi32… 42 "tf.StackCloseV2"(%stack) : (tensor<!tf_type.resource>) -> () [all …]
|
D | resource_op_lifting.mlir | 1 // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-resource-op-lifting | FILECHECK_OPTS=""… 3 // Tests that resource load operations are hoisted. 9 …%0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<te… 19 …%2 = "tf.ReadVariableOp"(%0) {dtype = i32} : (tensor<*x!tf_type.resource<tensor<*xi32>>>) -> tenso… 29 // Tests that resource store operations are hoisted. 35 …%0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<te… 46 …"tf.AssignVariableOp"(%0, %2) {dtype = i32} : (tensor<*x!tf_type.resource<tensor<*xi32>>>, tensor<… 56 // Tests that a resource ops with both load and store are hoisted. 62 …%0 = "tf.VarHandleOp"() {container = "c", shared_name = "v"} : () -> tensor<*x!tf_type.resource<te… 73 …%2 = "tf.ReadVariableOp"(%0) {dtype = i32} : (tensor<*x!tf_type.resource<tensor<*xi32>>>) -> tenso… [all …]
|
D | tensor_array_ops_decomposition.mlir | 10 // CHECK: %[[VAR:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<5x3xf32>>> 12 …hapes = true, tensor_array_name = "ta"} : (tensor<i32>) -> (tensor<!tf_type.resource>, tensor<f32>) 22 …%write = "tf.TensorArrayWriteV3"(%ta#0, %index, %value, %ta#1) : (tensor<!tf_type.resource>, tenso… 27 …%read = "tf.TensorArrayReadV3"(%ta#0, %index, %write) : (tensor<!tf_type.resource>, tensor<i32>, t… 29 "tf.TensorArrayCloseV3"(%ta#0) : (tensor<!tf_type.resource>) -> () 43 // CHECK: %[[VAR:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<5x3xf32>>> 45 …hapes = true, tensor_array_name = "ta"} : (tensor<i32>) -> (tensor<!tf_type.resource>, tensor<f32>) 48 …%write = "tf.TensorArrayWriteV3"(%ta#0, %index, %value, %ta#1) : (tensor<!tf_type.resource>, tenso… 50 …%size_out = "tf.TensorArraySizeV3"(%ta#0, %write) : (tensor<!tf_type.resource>, tensor<f32>) -> te… 62 // CHECK: %[[VAR:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<5x3xf32>>> [all …]
|
D | promote_resources_to_args.mlir | 3 // One resource, one read. The initial value of the resource is read. 13 …%1 = "tf.VarHandleOp"() {container = "", shared_name = "x"} : () -> tensor<!tf_type.resource<tenso… 14 %2 = "tf.ReadVariableOp"(%1) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32> 22 // One resource, one read. _is_initialized is false, shouldn't be promoted. 26 …er = "", shared_name = "x", _is_initialized = false} : () -> tensor<!tf_type.resource<tensor<f32>>> 27 %2 = "tf.ReadVariableOp"(%1) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32> 33 // One resource, one read. _is_initialized is true, should be promoted. 38 …ner = "", shared_name = "x", _is_initialized = true} : () -> tensor<!tf_type.resource<tensor<f32>>> 39 %2 = "tf.ReadVariableOp"(%1) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32> 45 // One resource, one write. The initial value of the resource is not read. [all …]
|
D | freeze_variables.mlir | 8 …ice = "/job:worker/replica:0/task:1/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<0xf32>>> 9 … %val = "tf.ReadVariableOp"(%handle) : (tensor<!tf_type.resource<tensor<0xf32>>>) -> tensor<0xf32> 21 …ice = "/job:worker/replica:0/task:1/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<0xf32>>> 22 …"tf.AssignVariableOp"(%handle, %cst) : (tensor<!tf_type.resource<tensor<0xf32>>>, tensor<0xf32>) -… 34 …ice = "/job:worker/replica:0/task:1/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<0xf32>>> 35 … %val = "tf.ReadVariableOp"(%handle) : (tensor<!tf_type.resource<tensor<0xf32>>>) -> tensor<0xf32> 37 …"tf.AssignVariableOp"(%handle, %0) : (tensor<!tf_type.resource<tensor<0xf32>>>, tensor<0xf32>) -> … 50 …ice = "/job:worker/replica:0/task:1/device:CPU:0"} : () -> tensor<!tf_type.resource<tensor<0xf32>>> 51 …onfig_proto = "", executor_type = "", f = @f_callee} : (tensor<!tf_type.resource<tensor<0xf32>>>) … 55 // CHECK: func private @f_callee(%arg0: tensor<*x!tf_type.resource>) -> tensor<0xf32> [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_resource.py | 9 resource = import_helper.import_module('resource') variable 16 self.assertRaises(TypeError, resource.getrlimit) 17 self.assertRaises(TypeError, resource.getrlimit, 42, 42) 18 self.assertRaises(TypeError, resource.setrlimit) 19 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42) 25 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 34 self.assertEqual(resource.RLIM_INFINITY, max) 35 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max)) 39 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 52 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max)) [all …]
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 105 void GrResourceCache::insertResource(GrGpuResource* resource) { in insertResource() argument 107 SkASSERT(resource); in insertResource() 108 SkASSERT(!this->isInCache(resource)); in insertResource() 109 SkASSERT(!resource->wasDestroyed()); in insertResource() 110 SkASSERT(!resource->resourcePriv().isPurgeable()); in insertResource() 114 resource->cacheAccess().setTimestamp(this->getNextTimestamp()); in insertResource() 116 this->addToNonpurgeableArray(resource); in insertResource() 118 size_t size = resource->gpuMemorySize(); in insertResource() 125 if (GrBudgetedType::kBudgeted == resource->resourcePriv().budgetedType()) { in insertResource() 135 SkASSERT(!resource->cacheAccess().isUsableAsScratch()); in insertResource() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_resource.py | 5 resource = test_support.import_module('resource') variable 12 self.assertRaises(TypeError, resource.getrlimit) 13 self.assertRaises(TypeError, resource.getrlimit, 42, 42) 14 self.assertRaises(TypeError, resource.setrlimit) 15 self.assertRaises(TypeError, resource.setrlimit, 42, 42, 42) 19 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 27 self.assertEqual(resource.RLIM_INFINITY, max) 28 resource.setrlimit(resource.RLIMIT_FSIZE, (cur, max)) 32 (cur, max) = resource.getrlimit(resource.RLIMIT_FSIZE) 44 resource.setrlimit(resource.RLIMIT_FSIZE, (1024, max)) [all …]
|
/external/mesa3d/src/gallium/frontends/nine/ |
D | nine_buffer_upload.c | 47 struct pipe_resource *resource; member 56 struct pipe_resource *resource; /* The parent resource if apply */ member 76 struct pipe_resource resource; in nine_upload_create_buffer_group() local 80 memset(&resource, 0, sizeof(resource)); in nine_upload_create_buffer_group() 81 resource.target = PIPE_BUFFER; in nine_upload_create_buffer_group() 82 resource.format = PIPE_FORMAT_R8_UNORM; in nine_upload_create_buffer_group() 83 resource.bind = PIPE_BIND_VERTEX_BUFFER; in nine_upload_create_buffer_group() 84 resource.usage = PIPE_USAGE_STREAM; in nine_upload_create_buffer_group() 85 resource.width0 = upload->buffers_size; in nine_upload_create_buffer_group() 86 resource.height0 = 1; in nine_upload_create_buffer_group() [all …]
|
/external/mesa3d/src/egl/wayland/wayland-drm/ |
D | wayland-drm.c | 43 destroy_buffer(struct wl_resource *resource) in destroy_buffer() argument 45 struct wl_drm_buffer *buffer = wl_resource_get_user_data(resource); in destroy_buffer() 53 buffer_destroy(struct wl_client *client, struct wl_resource *resource) in buffer_destroy() argument 55 wl_resource_destroy(resource); in buffer_destroy() 59 create_buffer(struct wl_client *client, struct wl_resource *resource, in create_buffer() argument 67 struct wl_drm *drm = wl_resource_get_user_data(resource); in create_buffer() 72 wl_resource_post_no_memory(resource); in create_buffer() 89 wl_resource_post_error(resource, in create_buffer() 95 buffer->resource = in create_buffer() 97 if (!buffer->resource) { in create_buffer() [all …]
|
/external/ltp/testcases/kernel/syscalls/getrlimit/ |
D | getrlimit03.c | 62 static int getrlimit_u64(int resource, struct rlimit64 *rlim) in getrlimit_u64() argument 64 return tst_syscall(__NR_prlimit64, 0, resource, NULL, rlim); in getrlimit_u64() 78 static int getrlimit_ulong(int resource, struct rlimit_ulong *rlim) in getrlimit_ulong() argument 80 return syscall(__NR_getrlimit_ulong, resource, rlim); in getrlimit_ulong() 91 static int getrlimit_long(int resource, struct rlimit_long *rlim) in getrlimit_long() argument 93 return syscall(__NR_getrlimit, resource, rlim); in getrlimit_long() 97 static int compare_retval(int resource, int ret_u64, int errno_u64, in compare_retval() argument 103 resource, ret_u64, tst_strerrno(errno_u64), in compare_retval() 104 other_syscall, resource, ret_other, in compare_retval() 112 static int compare_u64_ulong(int resource, uint64_t val_u64, in compare_u64_ulong() argument [all …]
|
/external/wayland/src/ |
D | wayland-server.c | 145 log_closure(struct wl_resource *resource, in log_closure() argument 148 struct wl_object *object = &resource->object; in log_closure() 149 struct wl_display *display = resource->client->display; in log_closure() 157 message.resource = resource; in log_closure() 173 verify_objects(struct wl_resource *resource, uint32_t opcode, in verify_objects() argument 176 struct wl_object *object = &resource->object; in verify_objects() 189 if (res && res->client != resource->client) { in verify_objects() 203 handle_array(struct wl_resource *resource, uint32_t opcode, in handle_array() argument 208 struct wl_object *object = &resource->object; in handle_array() 210 if (resource->client->error) in handle_array() [all …]
|
D | wayland-server-core.h | 342 struct wl_resource *resource, 481 typedef void (*wl_resource_destroy_func_t)(struct wl_resource *resource); 500 wl_resource_post_event(struct wl_resource *resource, 504 wl_resource_post_event_array(struct wl_resource *resource, 508 wl_resource_queue_event(struct wl_resource *resource, 512 wl_resource_queue_event_array(struct wl_resource *resource, 517 wl_resource_post_error(struct wl_resource *resource, 521 wl_resource_post_no_memory(struct wl_resource *resource); 532 wl_resource_set_implementation(struct wl_resource *resource, 538 wl_resource_set_dispatcher(struct wl_resource *resource, [all …]
|
D | wayland-shm.c | 60 struct wl_resource *resource; member 70 struct wl_resource *resource; member 94 wl_resource_post_error(pool->resource, in shm_pool_finish_resize() 123 destroy_buffer(struct wl_resource *resource) in destroy_buffer() argument 125 struct wl_shm_buffer *buffer = wl_resource_get_user_data(resource); in destroy_buffer() 133 shm_buffer_destroy(struct wl_client *client, struct wl_resource *resource) in shm_buffer_destroy() argument 135 wl_resource_destroy(resource); in shm_buffer_destroy() 164 shm_pool_create_buffer(struct wl_client *client, struct wl_resource *resource, in shm_pool_create_buffer() argument 169 struct wl_shm_pool *pool = wl_resource_get_user_data(resource); in shm_pool_create_buffer() 173 wl_resource_post_error(resource, in shm_pool_create_buffer() [all …]
|
/external/mesa3d/src/gallium/drivers/tegra/ |
D | tegra_screen.c | 168 struct tegra_resource *resource) in tegra_screen_import_resource() argument 178 status = screen->gpu->resource_get_handle(screen->gpu, NULL, resource->gpu, in tegra_screen_import_resource() 190 resource->modifier = handle.modifier; in tegra_screen_import_resource() 191 resource->stride = handle.stride; in tegra_screen_import_resource() 194 err = drmPrimeFDToHandle(screen->fd, fd, &resource->handle); in tegra_screen_import_resource() 209 struct tegra_resource *resource; in tegra_screen_resource_create() local 212 resource = calloc(1, sizeof(*resource)); in tegra_screen_resource_create() 213 if (!resource) in tegra_screen_resource_create() 230 resource->gpu = screen->gpu->resource_create_with_modifiers(screen->gpu, in tegra_screen_resource_create() 233 if (!resource->gpu) in tegra_screen_resource_create() [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/request/target/ |
D | GlideDrawableImageViewTarget.java | 5 import com.bumptech.glide.load.resource.drawable.GlideDrawable; 15 private GlideDrawable resource; field in GlideDrawableImageViewTarget 51 …public void onResourceReady(GlideDrawable resource, GlideAnimation<? super GlideDrawable> animatio… in onResourceReady() argument 52 if (!resource.isAnimated()) { in onResourceReady() 60 … float drawableRatio = resource.getIntrinsicWidth() / (float) resource.getIntrinsicHeight(); in onResourceReady() 63 resource = new SquaringDrawable(resource, view.getWidth()); in onResourceReady() 66 super.onResourceReady(resource, animation); in onResourceReady() 67 this.resource = resource; in onResourceReady() 68 resource.setLoopCount(maxLoopCount); in onResourceReady() 69 resource.start(); in onResourceReady() [all …]
|
/external/icu/icu4c/source/data/translit/ |
D | root.txt | 15 resource:process(transliterator){"Latin_ASCII.txt"} 21 resource:process(transliterator){"Any_Accents.txt"} 30 resource:process(transliterator){"Any_Accents.txt"} 36 resource:process(transliterator){"Any_Publishing.txt"} 42 resource:process(transliterator){"Arab_Latn.txt"} 60 resource:process(transliterator){"Latn_Armn.txt"} 72 resource:process(transliterator){"Beng_Arab.txt"} 78 resource:process(transliterator){"Beng_Deva.txt"} 84 resource:process(transliterator){"Beng_Gujr.txt"} 90 resource:process(transliterator){"Beng_Guru.txt"} [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | resource_op_kernel_test.cc | 57 StubResource* resource() TF_LOCKS_EXCLUDED(mu_) { in resource() function in tensorflow::__anona03c8b6f0111::StubResourceOpKernel 63 Status CreateResource(StubResource** resource) override { in CreateResource() argument 64 *resource = CHECK_NOTNULL(new StubResource); in CreateResource() 65 return GetNodeAttr(def(), "code", &(*resource)->code); in CreateResource() 68 Status VerifyResource(StubResource* resource) override { in VerifyResource() argument 71 if (code != resource->code) { in VerifyResource() 72 return errors::InvalidArgument("stub has code ", resource->code, in VerifyResource() 145 StubResource* resource; in TEST_F() local 147 mgr_.Lookup<StubResource>(mgr_.default_container(), key, &resource)); in TEST_F() 148 EXPECT_EQ(op->resource(), resource); // Check resource identity. in TEST_F() [all …]
|
/external/opencensus-java/contrib/monitored_resource_util/src/test/java/io/opencensus/contrib/monitoredresource/util/ |
D | MonitoredResourceTest.java | 45 AwsEc2InstanceMonitoredResource resource = in testAwsEc2InstanceMonitoredResource() local 47 assertThat(resource.getResourceType()).isEqualTo(ResourceType.AWS_EC2_INSTANCE); in testAwsEc2InstanceMonitoredResource() 48 assertThat(resource.getAccount()).isEqualTo(AWS_ACCOUNT); in testAwsEc2InstanceMonitoredResource() 49 assertThat(resource.getInstanceId()).isEqualTo(AWS_INSTANCE); in testAwsEc2InstanceMonitoredResource() 50 assertThat(resource.getRegion()).isEqualTo(AWS_REGION); in testAwsEc2InstanceMonitoredResource() 55 GcpGceInstanceMonitoredResource resource = in testGcpGceInstanceMonitoredResource() local 57 assertThat(resource.getResourceType()).isEqualTo(ResourceType.GCP_GCE_INSTANCE); in testGcpGceInstanceMonitoredResource() 58 assertThat(resource.getAccount()).isEqualTo(GCP_PROJECT); in testGcpGceInstanceMonitoredResource() 59 assertThat(resource.getInstanceId()).isEqualTo(GCP_INSTANCE); in testGcpGceInstanceMonitoredResource() 60 assertThat(resource.getZone()).isEqualTo(GCP_ZONE); in testGcpGceInstanceMonitoredResource() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | tensor_array_ops.cc | 51 XlaResource* resource, DataType dtype, in MaybeInitializeTensorArray() argument 53 if (resource->kind() != XlaResource::kTensorArray) { in MaybeInitializeTensorArray() 57 if (resource->type() != dtype) { in MaybeInitializeTensorArray() 59 "TensorArray dtype is ", DataTypeString(resource->type()), in MaybeInitializeTensorArray() 63 TF_RET_CHECK(resource->max_array_size() >= 0) in MaybeInitializeTensorArray() 64 << resource->name() << " size " << resource->max_array_size(); in MaybeInitializeTensorArray() 66 if (!resource->initialized()) { in MaybeInitializeTensorArray() 67 TF_RETURN_IF_ERROR(resource->SetTypeAndShape(dtype, elem_shape)); in MaybeInitializeTensorArray() 68 TF_RETURN_IF_ERROR(resource->SetZeroValue(builder)); in MaybeInitializeTensorArray() 71 auto shape_or_status = builder->GetShape(resource->value()); in MaybeInitializeTensorArray() [all …]
|
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/ |
D | resource_loader.py | 12 from py_vulcanize import resource as resource_module 89 resource = self.FindResourceGivenRelativePath(filename) 91 return resource 92 if not resource: 94 return _read_file(resource.absolute_path) 116 resource = self.FindResource(module_filename) 117 if not resource: 120 module_name = resource.name 122 resource = None # Will be set if we end up needing to load. 128 if not resource: # happens when module_name was given [all …]
|
/external/python/cpython3/Lib/importlib/ |
D | resources.py | 40 def open_binary(package: Package, resource: Resource) -> BinaryIO: 42 resource = _common.normalize_path(resource) 46 return reader.open_resource(resource) 56 full_path = os.path.join(package_path, resource) 76 resource: Resource, 82 open_binary(package, resource), encoding=encoding, errors=errors 86 def read_binary(package: Package, resource: Resource) -> bytes: 88 with open_binary(package, resource) as fp: 94 resource: Resource, 103 with open_text(package, resource, encoding, errors) as fp: [all …]
|
/external/tensorflow/tensorflow/core/ir/tests/ |
D | invalid_types.mlir | 32 // CHECK: !tf_type.resource 33 func private @resource_without_type(!tf_type.resource) -> () 35 // CHECK: !tf_type.resource<tensor<?xf32>> 36 func private @resource_with_type(!tf_type.resource<tensor<?xf32>>) -> () 38 // CHECK: !tf_type.resource<tensor<3xf32>, tensor<2xi32>> 39 func private @resource_with_multiple_types(!tf_type.resource<tensor<3xf32>, tensor<2xi32>>) -> () 41 // CHECK: tensor<*x!tf_type.resource<tensor<?xf32>>> 42 func private @resource_element_type(tensor<*x!tf_type.resource<tensor<?xf32>>>) -> () 44 // CHECK: tensor<!tf_type.resource<tensor<?x!tf_type.resource<tensor<?xf32>>>>> 45 func private @nested_resource(tensor<!tf_type.resource<tensor<?x!tf_type.resource<tensor<?xf32>>>>>… [all …]
|