Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 258 for set_type (0.16 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          auto tensor_type = mlir::cast<mlir::TensorType>(mlir_arg.getType());
          if (tensor_type.hasRank()) {
            mlir_arg.setType(
                GetTypeFromTFTensorShape(tensor_type.getShape(), resource_type));
          } else {
            mlir_arg.setType(mlir::UnrankedTensorType::get(resource_type));
          }
          has_resource_args = true;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

              << type_or_err.status().ToString();
          return type_or_err.status();
        }
        auto type = std::move(type_or_err).value();
        ret_types.push_back(type);
      }
      auto func_type = builder.getFunctionType(input_types, ret_types);
    
      // Construct function object
      auto func = FuncOp::create(func_loc, name, func_type, /* attrs= */ {});
      func.addEntryBlock();
      auto& body = func.getBody();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/range.go

    			var arr ir.Node
    			if t.IsPtr() {
    				arr = ha
    			} else {
    				arr = typecheck.NodAddr(ha)
    				arr.SetType(t.PtrTo())
    				arr.SetTypecheck(1)
    			}
    			hs = ir.NewSliceExpr(base.Pos, ir.OSLICEARR, arr, nil, nil, nil)
    			// old typechecker doesn't know OSLICEARR, so we set types explicitly
    			hs.SetType(types.NewSlice(elem))
    			hs.SetTypecheck(1)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:33 UTC 2023
    - 17.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/shape_inference.cc

                  graph->NewName(absl::StrCat("var_shape_", var_node->name())));
              DataType dtype = n->output_type(0);
              AddNodeAttr("dtype", dtype, &const_def);
              TensorProto value;
              value.set_dtype(dtype);
              value.mutable_tensor_shape()->add_dim()->set_size(
                  shape_proto.dim_size());
              for (const auto& dim : shape_proto.dim()) {
                if (dtype == DT_INT32) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. platforms/jvm/jacoco/src/main/java/org/gradle/testing/jacoco/plugins/JacocoPlugin.java

            });
    
            variant.getOutgoing().artifact(target.getTestTask().map(task -> task.getExtensions().getByType(JacocoTaskExtension.class).getDestinationFile()), artifact -> {
                artifact.setType(ArtifactTypeDefinition.BINARY_DATA_TYPE);
                artifact.builtBy(target.getTestTask());
            });
        }
    
        /**
         * Creates the configurations used by plugin.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 21:09:25 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          /**
           * Set the MIME type. Expected values for `type` are [MIXED] (the default), [ALTERNATIVE],
           * [DIGEST], [PARALLEL] and [FORM].
           */
          fun setType(type: MediaType) =
            apply {
              require(type.type == "multipart") { "multipart != $type" }
              this.type = type
            }
    
          /** Add a part to the body. */
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test_util.cc

      for (int i = 0; i < num_devices; ++i) {
        const string dev_type(TF_DeviceListType(devices, i, status.get()));
        CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        const string dev_name(TF_DeviceListName(devices, i, status.get()));
        CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
        if (dev_type == device_type) {
          *device_name = dev_name;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

                    .lookupPrincipalByName(getUsername());
            ImmutableList<AclEntry> acl =
                ImmutableList.of(
                    AclEntry.newBuilder()
                        .setType(ALLOW)
                        .setPrincipal(user)
                        .setPermissions(EnumSet.allOf(AclEntryPermission.class))
                        .setFlags(DIRECTORY_INHERIT, FILE_INHERIT)
                        .build());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/MultipartReaderTest.kt

        }
      }
    
      /** Confirm that [MultipartBody] and [MultipartReader] can work together. */
      @Test fun `multipart round trip`() {
        val body =
          MultipartBody.Builder("boundary")
            .setType(MultipartBody.PARALLEL)
            .addPart("Quick".toRequestBody("text/plain".toMediaType()))
            .addFormDataPart("color", "Brown")
            .addFormDataPart("animal", "fox.txt", "Fox".toRequestBody())
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/TempFileCreator.java

                    .lookupPrincipalByName(getUsername());
            ImmutableList<AclEntry> acl =
                ImmutableList.of(
                    AclEntry.newBuilder()
                        .setType(ALLOW)
                        .setPrincipal(user)
                        .setPermissions(EnumSet.allOf(AclEntryPermission.class))
                        .setFlags(DIRECTORY_INHERIT, FILE_INHERIT)
                        .build());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top