Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for set_hash_code (0.12 sec)

  1. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

        ResourceHandle handle;
        handle.set_device(device_->name());
        handle.set_container(rm->default_container());
        handle.set_name(name);
        TypeIndex type_index = TypeIndex::Make<Var>();
        handle.set_hash_code(type_index.hash_code());
        handle.set_maybe_type_name(type_index.name());
    
        Tensor* input = new Tensor(host_allocator_, DT_RESOURCE, TensorShape({}));
        input->scalar<ResourceHandle>()() = handle;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 10K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_launch_util_test.cc

        ResourceHandle handle;
        handle.set_device(device_->name());
        handle.set_container(rm->default_container());
        handle.set_name(name);
        TypeIndex type_index = TypeIndex::Make<Var>();
        handle.set_hash_code(type_index.hash_code());
        handle.set_maybe_type_name(type_index.name());
    
        Tensor* input = new Tensor(host_allocator_, DT_RESOURCE, TensorShape({}));
        input->scalar<ResourceHandle>()() = handle;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
Back to top