Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 44 for rtype_String (0.33 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/jit/node_matchers.cc

      bool MatchAndExplain(
          const Node* node,
          ::testing::MatchResultListener* listener) const override {
        if (op && node->type_string() != *op) {
          if (listener->IsInterested()) {
            *listener << "\nexpected op " << *op << " but found "
                      << node->type_string();
          }
          return false;
        }
    
        if (assigned_device && node->assigned_device_name() != *assigned_device) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/resource_operation_safety_analysis.cc

      }
      if (should_ignore) {
        *out_resource_op_kind = std::nullopt;
        return absl::OkStatus();
      }
    
      const XlaResourceOpInfo* op_info = GetResourceOpInfoForOp(n.type_string());
      if (op_info) {
        *out_resource_op_kind = op_info->kind();
        return absl::OkStatus();
      }
    
      // We conservatively assume that functions will both read and write resource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      TF_ASSERT_OK(EncapsulateXlaComputationsPass::Encapsulate(&graph, &flib_def));
    
      std::unordered_map<string, Node*> index = graph->BuildNodeNameIndex();
      string function = index.at("launch0")->type_string();
    
      // Tests the outer graph is as expected.
      {
        std::unique_ptr<Graph> outer = MakeOuterGraph(flib_def, function);
        GraphDef expected_def;
        outer->ToGraphDef(&expected_def);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_kernel_creator_test.cc

      Status status = xla_kernel_creator.CreateKernel(flr_, callsite, &kernel_);
      ASSERT_TRUE(status.ok()) << status.ToString();
    
      EXPECT_EQ("XTimesY", kernel_->name());
      EXPECT_EQ("XTimesY", kernel_->type_string());
    
      EXPECT_EQ(2, kernel_->num_inputs());
      EXPECT_EQ(DT_FLOAT, kernel_->input_type(0));
      EXPECT_EQ(DT_RESOURCE, kernel_->input_type(1));
      EXPECT_EQ(DEVICE_MEMORY, kernel_->input_memory_types()[0]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

    //
    //  - A T to indicate a successful operation.
    template <class T>
    using StatusOrOptional = StatusOr<std::optional<T>>;
    
    StatusOrOptional<Tensor> TryToGetTensorFromConstOp(Node* n) {
      if (n->type_string() != "Const") {
        return {std::nullopt};
      }
    
      const TensorProto* proto = nullptr;
      TF_RETURN_IF_ERROR(GetNodeAttr(n->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
    - 13.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

        // }
        //
        // then `Identity` no longer produces Const+I*V because the InplaceAdd
        // operation only modifies Const/clone_2 in place.
    
        if (IsInPlaceOp(n->type_string())) {
          return absl::OkStatus();
        }
        nodes.push_back(n);
      }
    
      // Iterate over a copy of the nodes to avoid iterating over g->nodes() while
      // creating more nodes.
      for (Node* n : nodes) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/auto_clustering_test_helper.cc

          maybe_cluster->remove_prefix(absl::string_view("cluster_").size());
          TF_RET_CHECK(absl::SimpleAtoi(*maybe_cluster, &cluster));
          clustered_nodes++;
        }
        clusters[cluster][n->type_string()]++;
        cluster_size[cluster]++;
      }
    
      string result =
          absl::StrCat("Clustered nodes: ", clustered_nodes,
                       "\nUnclustered nodes: ", cluster_size[kNoCluster],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 12:11:46 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/gradients.cc

        const Operation& op, const std::vector<Output>& grad_inputs,
        std::vector<Output>* grad_outputs) {
      ops::GradFunc grad_fn;
      TF_RETURN_IF_ERROR(registry_->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();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top