Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 258 for set_type (0.17 sec)

  1. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

          output_types.push_back(dequantized_result.getType());
          terminator->setOperand(i, dequantized_result);
          returned_op->erase();
        } else {
          output_types.push_back(returned_value.getType());
        }
      }
      auto new_func_type = builder.getFunctionType(input_types, output_types);
      func.setType(new_func_type);
    }
    
    enum RemoveVolatileOpsType {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

      if (auto qtype = mlir::dyn_cast<QuantizedType>(element_ty)) {
        mlir::RankedTensorType new_type = tensorflow::GetTypeFromTFTensorShape(
            type.getShape(), qtype.getStorageType());
        return DenseElementsAttr::get(
            new_type, builder.getIntegerAttr(qtype.getStorageType(), unique_index));
      }
      llvm_unreachable("unhandled element type");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

        private static final String LAMBDA_METAFACTORY_TYPE = getType(LambdaMetafactory.class).getInternalName();
        private static final String LAMBDA_METAFACTORY_METHOD_DESCRIPTOR = getMethodDescriptor(
            getType(CallSite.class),
            getType(MethodHandles.Lookup.class),
            STRING_TYPE,
            getType(MethodType.class),
            getType(Object[].class));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        auto x_type = mlir::dyn_cast<RankedTensorType>(op.getX().getType());
        // x input must have static shape.
        if (!x_type || !x_type.hasStaticShape()) {
          return failure();
        }
        Type int_type = x_type.getElementType();  // Could be i32 or i64.
    
        auto result_type = x_type;
        auto start = rewriter.create<ConstOp>(loc, GetScalarOfType(int_type, 0));
        Value limit = rewriter.create<ConstOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

                                  DT_RESOURCE, DT_RESOURCE, DT_RESOURCE}),
                  result.arg_types);
        EXPECT_EQ((DataTypeVector{DT_FLOAT, DT_INT32, DT_FLOAT, DT_FLOAT}),
                  result.ret_types);
        TF_EXPECT_GRAPH_EQ(expected_body_def, result.gdef);
      }
    
      // Encapsulates the same computation again, verifies we reuse the same
      // function. Encapsulation should be deterministic to avoid recompilation.
    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. src/cmd/link/internal/x86/asm.go

    	}{
    		{"ax", 0},
    		{"cx", 1},
    		{"dx", 2},
    		{"bx", 3},
    		// sp
    		{"bp", 5},
    		{"si", 6},
    		{"di", 7},
    	} {
    		thunkfunc := ldr.CreateSymForUpdate("__x86.get_pc_thunk."+r.name, 0)
    		thunkfunc.SetType(sym.STEXT)
    		ldr.SetAttrLocal(thunkfunc.Sym(), true)
    		o := func(op ...uint8) {
    			for _, op1 := range op {
    				thunkfunc.AddUint8(op1)
    			}
    		}
    		// 8b 04 24	mov    (%esp),%eax
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  7. platforms/software/signing/src/main/java/org/gradle/plugins/signing/Signature.java

        private String signatureTypeExtension() {
            SignatureType signatureType = getSignatureType();
            return signatureType != null ? signatureType.getExtension() : null;
        }
    
        public void setType(String type) {
            this.type = type;
        }
    
        /**
         * The type of the signature artifact.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 12:20:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                getType(Project.class),
                getType("Lorg/gradle/api/internal/project/ProjectInternal;"),
                getType(Gradle.class),
                getType("Lorg/gradle/api/internal/GradleInternal;")
            );
            private static final Type JAVA_LANG_REFLECT_TYPE = getType(java.lang.reflect.Type.class);
            private static final Type OBJECT_TYPE = getType(Object.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ppc64/asm.go

    			}
    		}
    		// Jump to the loaded pointer
    		stub.AddUint32(ctxt.Arch, OP_MTCTR_R12) // mtctr r12
    		stub.AddUint32(ctxt.Arch, OP_BCTR)      // bctr
    		stub.SetType(sym.STEXT)
    	}
    
    	// Update the relocation to use the call stub
    	su := ldr.MakeSymbolUpdater(s)
    	su.SetRelocSym(ri, stub.Sym())
    
    	// Rewrite the TOC restore slot (a nop) if the caller uses a TOC pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  10. docs/recipes.md

          private val client = OkHttpClient()
    
          fun run() {
            // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
            val requestBody = MultipartBody.Builder()
                .setType(MultipartBody.FORM)
                .addFormDataPart("title", "Square Logo")
                .addFormDataPart("image", "logo-square.png",
                    File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG))
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
Back to top