Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for rtype_String (0.5 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/compilability_check_util.cc

      //    create convolutions too large for CuDNN to handle.
      return node.type_string() == "SelfAdjointEigV2" ||
             node.type_string() == "Svd" || node.type_string() == "Qr" ||
             node.type_string() == "MatrixInverse" ||
             node.type_string() == "MatrixSolve" ||
             node.type_string() == "ResizeBilinearGrad";
    }
    
    bool RecursiveCompilabilityChecker::IsCompilableNode(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/flags.h

          xla_launch_allowed_devices_.insert(device_type.type_string());
        }
    
        bool IsEnabledInXlaLaunchForDevice(const DeviceType& device_type) const {
          if (!enabled_for_gpu_ && device_type.type_string() == "GPU") return false;
          return enabled_for_all_ ||
                 (enabled_for_xla_launch_ &&
                  xla_launch_allowed_devices_.contains(device_type.type_string()));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_cluster_util.cc

                              return name_attr_pair.second.has_func();
                            });
    }
    bool IsShapeConsumerOp(const Node& node) {
      return node.type_string() == "Shape" || node.type_string() == "Rank" ||
             node.type_string() == "Size";
    }
    
    namespace {
    struct ClusterInfo {
      int size;
    
      // Maps op names to the number of times they appear in the cluster.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/jit/shape_inference.cc

                    << context->DebugString(handle);
          }
        }
    
        int index = -1;
        if (n->type_string() == "_Arg") {
          // NOTE: during runtime, Placeholder ops will be replaced as `_Arg` ops.
          // And Args must have `index` attribute.
          TF_RETURN_IF_ERROR(GetNodeAttr(n->attrs(), "index", &index));
        } else if (n->type_string() == "Placeholder") {
          // Use custom attribute (prefixed with `_`) `_index` for placeholders as
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      for (Node* n : graph->nodes()) {
        if (n->type_string() == "_Arg") {
          // Check if this is a guaranteed constant.
          if (is_guaranteed_constant(*n)) {
            return errors::InvalidArgument(
                "Guaranteed constants are not supported (", n->name(), ")");
          }
          args.push_back(n);
        } else if (n->type_string() == "_Retval") {
          retvals.push_back(n);
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      NameAttrList func;
      if (fld->Contains(n->type_string())) {
        func.set_name(n->type_string());
        typedef protobuf::Map<string, AttrValue> AttrMap;
        *func.mutable_attr() = AttrMap(n->attrs().begin(), n->attrs().end());
      } else if (n->IsPartitionedCall()) {
        TF_RETURN_IF_ERROR(GetNodeAttr(n->def(), "f", &func));
      } else {
        TF_RET_CHECK(n->type_string() == FunctionLibraryDefinition::kGradientOp);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
Back to top