Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for rtype_String (2.75 sec)

  1. tensorflow/compiler/jit/xla_launch_util_gpu_test.cc

        rollout_config.AllowForDeviceInXlaLaunch(device_type);
        rollout_config.AllowForDeviceInXlaCompileOnDemand(device_type);
    
        auto device =
            DeviceFactory::NewDevice(device_type.type_string(), SessionOptions(),
                                     "/job:localhost/replica:0/task:0");
        device_ = device.get();
        SetDevice(device_type, std::move(device));
    
    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/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

      }
    
      VLOG(2) << error_prefix << " " << status;
      tensorflow::metrics::UpdateTfMlirBridgeFirstPhaseCounter(
          bridge_type,
          /*bridge_version=*/mlir::TF::kMlirPh1BridgeCounterV2,
          device_type.type_string(),
          /*fallback_enabled=*/false,
          /*result=*/"failure");
    
      std::string bridge_subcomponent = "TFXLA_PHASE_ONE_MLIR_TPU_BRIDGE";
    
      tsl::OkOrSetErrorCounterPayload(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

      std::unique_ptr<Graph> graph;
      TF_ASSERT_OK(BuildXlaOps(root, fdef_lib, &graph));
    
      Node* stateful_partitioned_call_op = nullptr;
      for (Node* n : graph->op_nodes()) {
        if (n->type_string() == "StatefulPartitionedCall") {
          ASSERT_EQ(stateful_partitioned_call_op, nullptr);
          stateful_partitioned_call_op = n;
        }
      }
    
      ASSERT_NE(stateful_partitioned_call_op, nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_util.cc

        Graph* g, const string& outside_compilation_attr_name) {
      // Gather all outside compilation to outside compilation nodes.
      std::vector<Node*> placeholder_nodes;
      for (Node* n : g->nodes()) {
        if (n->type_string() == "Placeholder" &&
            HasNodeAttr(n->def(), kOutsideCompilationOriginalNodeAttrName)) {
          placeholder_nodes.push_back(n);
        }
      }
    
      // Remove the placeholder nodes, and reconnect original edge.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/device_executable_persistor_test.cc

      XlaSerializedCacheKey key;
      key.set_signature_fingerprint(signature_hash);
      key.set_cluster_fingerprint(
          DeterministicProtoHash64(compilation_result.computation->proto()));
      key.set_device_type(device_type.type_string());
      key.set_prefix(persistence_prefix);
      key.set_compiled_using_pjrt(compiled_using_pjrt);
      return key;
    }
    
    TEST_F(DeviceExecutionPersistorTest, PersistCacheDirNotSet) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/device_executable_persistor.h

        bool compiled_using_pjrt) const {
      XlaSerializedCacheKey key;
      key.set_signature_fingerprint(signature_hash);
      key.set_cluster_fingerprint(DeterministicProtoHash64(hlo_module));
      key.set_device_type(device_type().type_string());
      key.set_prefix(persistence_prefix());
      key.set_compiled_using_pjrt(compiled_using_pjrt);
      return key;
    }
    
    template <typename ExecutableType, typename ClientType>
    XlaSerializedCacheKey
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/build_xla_ops_pass.cc

                              num_resource_inputs),
          std::back_inserter(result->resource_inputs), IncomingEdgeAsOutput);
    
      result->function.set_name(n->type_string());
      *result->function.mutable_attr() = n->def().attr();
      return absl::OkStatus();
    }
    
    Status CopyIncomingControlEdges(Graph* g, Node* from, Node* to) {
      for (const Edge* e : from->in_edges()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis.cc

        bool is_boolean_tensor =
            BaseType(node->output_type(tensor_id.index())) == DT_BOOL;
        TF_RET_CHECK(!must_be_true || is_boolean_tensor);
    
        if (node->type_string() == "Const" && must_be_true) {
          const TensorProto* proto = nullptr;
          TF_RETURN_IF_ERROR(GetNodeAttr(node->def(), "value", &proto));
    
          Tensor tensor(proto->dtype());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/nn_grad.cc

      grad_outputs->push_back(dx);
      return scope.status();
    }
    REGISTER_GRADIENT_OP("Softmax", SoftmaxGrad);
    
    bool IsZero(const Scope& scope, const Output& grad) {
      string op_type_name = grad.op().node()->type_string();
      if (op_type_name == "ZerosLike" || op_type_name == "Zeros") {
        return true;
      }
      // The Operation we were provided is not named something obvious so
      // we need to actually look at its contents.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 23:34:33 UTC 2022
    - 24.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_launch_util_test.cc

        rollout_config.AllowForDeviceInXlaCompileOnDemand(device_type);
    
        auto jit_device_type = DeviceType(DEVICE_CPU_XLA_JIT);
        auto device =
            DeviceFactory::NewDevice(device_type.type_string(), SessionOptions(),
                                     "/job:localhost/replica:0/task:0");
        device_ = device.get();
        SetDevice(device_type, std::move(device));
    
        // Create PjRtClient for XLA_CPU.
    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