Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for data_type_ (0.2 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

                             const std::vector<ControlFlowInfo>& control_flow_info,
                             const TensorShapeProto& shape, Graph* graph_out) {
      DataType data_type = src_node->output_type(src_port);
      TensorProto dummy_proto;
      dummy_proto.set_dtype(data_type);
      *dummy_proto.mutable_tensor_shape() = shape;
      // Don't set any value field in the proto, since it is only going to be used
      // for shape inference.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

              hoisted_read(nullptr),
              data_type(nullptr),
              result_index(-1) {}
    
        bool IsResultIndexAssigned() { return result_index != -1; }
    
        // Refine the resource type using the given type `type`.
        void RefineType(Type type) {
          if (!data_type) {
            data_type = type;
          } else {
            data_type = TF::GetCastCompatibleType(data_type, type,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. tests/migrate_test.go

    						columnType)
    				}
    			case "name":
    				dataType := DB.Dialector.DataTypeOf(stmt.Schema.LookUpField(columnType.Name()))
    				if !strings.Contains(strings.ToUpper(dataType), strings.ToUpper(columnType.DatabaseTypeName())) {
    					t.Fatalf("column name type should be correct, name: %v, length: %v, expects: %v, column: %#v",
    						columnType.Name(), columnType.DatabaseTypeName(), dataType, columnType)
    				}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	}
    
    	allowWatchList := isWatcher && isLister // watching on lists is allowed only for kinds that support both watch and list.
    	nameParam := ws.PathParameter("name", "name of the "+kind).DataType("string")
    	pathParam := ws.PathParameter("path", "path to the resource").DataType("string")
    
    	params := []*restful.Parameter{}
    	actions := []action{}
    
    	var resourceKind string
    	kindProvider, ok := storage.(rest.KindProvider)
    	if ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

           FunctionDefHelper::Const("maxval", 20),
           {{"shape"},
            "RandomUniformInt",
            {"shape_shape:output:0", "minval:output:0", "maxval:output:0"},
            {{"Tout", DataType::DT_INT32}, {"T", DataType::DT_INT32}}}},
          /*ret_def=*/{{"out", "shape:output:0"}});
    
      func.mutable_signature()->set_is_stateful(true);
      *flib_def.add_function() = std::move(func);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      if (!n) {
        return false;
      }
    
      if (n->type_string() != "AssignAddVariableOp" &&
          n->type_string() != "AssignSubVariableOp") {
        return false;
      }
    
      DataType dtype;
      if (!TryGetNodeAttr(n->def(), "dtype", &dtype) || !DataTypeIsInteger(dtype)) {
        return false;
      }
    
      Node* const_input = nullptr;
      for (const Edge* e : n->in_edges()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top