Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for rtype_String (1.03 sec)

  1. src/cmd/link/testdata/linkname/badlinkname.go

    package main
    
    import (
    	_ "reflect"
    	"unsafe"
    )
    
    //go:linkname noescape runtime.noescape
    func noescape(unsafe.Pointer) unsafe.Pointer
    
    //go:linkname rtype_String reflect.(*rtype).String
    func rtype_String(unsafe.Pointer) string
    
    func main() {
    	println(rtype_String(noescape(nil)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:48:00 UTC 2024
    - 620 bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_util.cc

      DeviceType* device_type = id_to_device_type_.back().get();
      TF_RETURN_IF_ERROR(DeviceNameToDeviceType(names_.back(), device_type));
    
      is_cpu_.push_back(device_type->type_string() == DEVICE_CPU);
      is_gpu_.push_back(device_type->type_string() == DEVICE_GPU);
    
      name_to_id_.emplace(string(name), DeviceId(new_id));
    
      const XlaOpRegistry::DeviceRegistration* compilation_device;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_compile_util.cc

      return absl::StrCat(kPjRtDeviceCompilerResourceName, "_",
                          device_type.type_string());
    }
    
    std::string GetPjRtDeviceCompilationProfilerResourceName(
        const DeviceType& device_type) {
      return absl::StrCat(kPjRtDeviceCompilationProfilerResourceName, "_",
                          device_type.type_string());
    }
    
    absl::StatusOr<ResourceMgr*> GetResourceMgrForDeviceCompiler(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

      // on parameter servers.
      const std::string jobType = "ps";
      const std::string nodeType = "_Arg";
      const std::string attrKey = "T";
      for (const Node* node : graph.nodes()) {
        if (node->type_string() == nodeType) {
          auto device_name = node->assigned_device_name();
          DeviceNameUtils::ParsedName device;
          if (DeviceNameUtils::ParseFullName(device_name, &device) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/grad_testutil.cc

                            const std::vector<Output>& grad_inputs,
                            std::vector<Output>* grad_outputs) {
      ops::GradFunc grad_fn;
      TF_RETURN_IF_ERROR(ops::GradOpRegistry::Global()->Lookup(
          op.node()->type_string(), &grad_fn));
      TF_RETURN_IF_ERROR(grad_fn(scope, op, grad_inputs, grad_outputs));
      TF_RETURN_IF_ERROR(scope.status());
      return absl::OkStatus();
    }
    
    }  // end namespace test
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 14:07:19 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/cluster_scoping_pass.cc

    //
    // Unstage -> Node_Y
    //
    Status ClusterScopingPassImpl::ScopingForPipelineStages() {
      for (Node* n : graph_->nodes()) {
        DCHECK(n);
        if (n->type_string() == "Unstage") {
          AddScopeToAllTransitiveSuccessors(n);
        }
        if (n->type_string() == "Stage") {
          AddScopeToAllTransitivePredecessors(n);
        }
      }
    
      return absl::OkStatus();
    }
    
    Status ClusterScopingPassImpl::Run() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc

      if (pjrt_c_api_client == nullptr) {
        return absl::InternalError(absl::StrCat("PjRtClient for ",
                                                device_type.type_string(),
                                                " is not type PjRtCApiClient"));
      }
      return pjrt_c_api_client;
    }
    
    absl::Status ResetPjRtClient(const DeviceType& device_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_device_ops.cc

    XlaDeviceDummyOp::XlaDeviceDummyOp(OpKernelConstruction* ctx) : OpKernel(ctx) {}
    
    void XlaDeviceDummyOp::Compute(OpKernelContext* ctx) {
      LOG(FATAL) << "Attempted to execute Op " << name() << " type "
                 << type_string() << " on an XLA device. This should never happen.";
    }
    
    XlaAssignVariableOp::XlaAssignVariableOp(OpKernelConstruction* c)
        : OpKernel(c) {
      OP_REQUIRES_OK(c, c->GetAttr("dtype", &dtype_));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. tensorflow/cc/framework/scope_test.cc

      Output add;
      ASSERT_TRUE(
          CreateOutputWithScope("Add", {a, a}, root.WithOpName("add"), &add).ok());
      EXPECT_EQ(add.node()->name(), "add");
      EXPECT_EQ(add.node()->type_string(), "Add");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 08:17:37 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/types_test.go

    	subnameFieldType, found := rt.FindFieldType("CustomObject.nested", "subname")
    	if !found {
    		t.Fatal("got field not found for 'CustomObject.nested.subname', wanted found")
    	}
    	if subnameFieldType.Type.GetPrimitive() != exprpb.Type_STRING {
    		t.Errorf("got field type %v, wanted string", subnameFieldType.Type)
    	}
    	flagsFieldType, found := rt.FindFieldType("CustomObject.nested", "flags")
    	if !found {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top