Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for set_type (0.12 sec)

  1. 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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                else -> null
            }
        }
    
        private fun ConstantValueKind.toLiteralExpression(source: KtSourceElement?, value: Any?): FirLiteralExpression =
            buildLiteralExpression(source, this, value, setType = false)
    
        private fun FirFunctionCall.getOriginalFunction(): FirCallableDeclaration? {
            val symbol: FirBasedSymbol<*>? = when (val reference = calleeReference) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/main/java/org/gradle/buildinit/tasks/InitBuild.java

            return generatorsByLanguage.get(language);
        }
    
        @Option(option = "type", description = "Set the type of project to generate.")
        public void setType(String type) {
            this.type = type;
        }
    
        @OptionValues("type")
        public List<String> getAvailableBuildTypes() {
            return getProjectLayoutRegistry().getAllTypes();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 10 12:58:10 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        if (!mlir::cast<ShapedType>(lhs.getType()).hasStaticShape() ||
            !mlir::cast<ShapedType>(rhs.getType()).hasStaticShape() ||
            !mlir::cast<ShapedType>(cond.getType()).hasStaticShape()) {
          return rewriteOpWithDynamicInput(op, rewriter);
        }
    
        auto lhs_shape = mlir::cast<ShapedType>(lhs.getType()).getShape();
        auto rhs_shape = mlir::cast<ShapedType>(rhs.getType()).getShape();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      validate_indices:bool;
    }
    
    table EqualOptions {
    }
    
    table NotEqualOptions {
    }
    
    table ShapeOptions {
      // Optional output type of the operation (int32 or int64). Defaults to int32.
      out_type : TensorType;
    }
    
    table RankOptions {
    }
    
    table PowOptions {
    }
    
    table FakeQuantOptions {
      // Parameters supported by version 1:
      min:float;
      max:float;
      num_bits:int;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
Back to top