Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for Const8 (0.19 sec)

  1. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Xor(64|32|16|8) x x) => (Const(64|32|16|8) [0])
    (Xor(64|32|16|8) (Const(64|32|16|8) [0]) x) => x
    (Xor(64|32|16|8) (Com(64|32|16|8)    x)  x) => (Const(64|32|16|8) [-1])
    
    (Add(64|32|16|8) (Const(64|32|16|8) [0]) x) => x
    (Sub(64|32|16|8) x x) => (Const(64|32|16|8) [0])
    (Mul(64|32|16|8) (Const(64|32|16|8) [0]) _) => (Const(64|32|16|8) [0])
    (Select0 (Mul(64|32)uover (Const(64|32) [0]) x)) => (Const(64|32) [0])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewriteRISCV64.go

    		v0.AuxInt = int64ToAuxInt(int64(math.Float64bits(val)))
    		v.AddArg(v0)
    		return true
    	}
    }
    func rewriteValueRISCV64_OpConst8(v *Value) bool {
    	// match: (Const8 [val])
    	// result: (MOVDconst [int64(val)])
    	for {
    		val := auxIntToInt8(v.AuxInt)
    		v.reset(OpRISCV64MOVDconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 14:57:07 UTC 2024
    - 205.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK-DAG: %[[CONST1:.*]] = "tf.Const"() <{value = dense<[0, 3, 1, 2]> : tensor<4xi32>}>
      // CHECK-DAG: %[[CONST2:.*]] = "tf.Const"() <{value = dense<[0, 2, 3, 1]> : tensor<4xi32>}>
      // CHECK: %[[TRANS1:.*]] = "tf.Transpose"(%arg0, %[[CONST1]]) : (tensor<1x4x4x8xf32>, tensor<4xi32>) -> tensor<1x8x4x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      %index_in_list = "tf.Const"() {value = dense<0> : tensor<1xi32>} : () -> tensor<1xi32>
      %arg0_shape = "tf.Const"() {value = dense<[1, 8, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
      %arg0_reshaped = "tf.Reshape"(%arg0, %arg0_shape) : (tensor<8x4xf32>, tensor<3xi32>) -> tensor<1x8x4xf32>
      %zeroi2 = "tf.Const"() {value = dense<0> : tensor<2xi32>} : () -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

    }
    
    void TF_SetAttrString(TF_OperationDescription* desc, const char* attr_name,
                          const void* value, size_t length) {
      tensorflow::StringPiece s(static_cast<const char*>(value), length);
      desc->node_builder.Attr(attr_name, s);
    }
    
    void TF_SetAttrStringList(TF_OperationDescription* desc, const char* attr_name,
                              const void* const* values, const size_t* lengths,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

      TFL::QConstOp GetBiasOp(
          stablehlo::ConvolutionOp op, PatternRewriter& rewriter,
          const RankedTensorType new_filter_result_type,
          const UniformQuantizedPerAxisType new_filter_quantized_type,
          const SmallVector<int64_t, 1> bias_shape, const bool has_i32_output,
          const bool fuse_bias_constant) const {
        const SmallVector<double> bias_scales = GetBiasScales(
            /*input_scale=*/GetElementType(op.getOperand(0))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

    TF_ATTRIBUTE_NOINLINE Status BuildHostGraphForIfNode(
        const string& xla_cluster_attr_name,
        const string& outside_compilation_attr_name, const string& xla_cluster_name,
        const string& if_node_name, const string& host_transfer_key,
        const string& host_graph_func_name, FunctionLibraryDefinition* fld,
        const string& then_branch_host_func_name,
        const string& else_branch_host_func_name) {
      Graph host_graph(fld);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

    }
    
    template <class Tkey, class Tvalue>
    bool EqualProtoMap(const ::tensorflow::protobuf::Map<Tkey, Tvalue>& a,
                       const ::tensorflow::protobuf::Map<Tkey, Tvalue>& b,
                       const std::function<string(const Tkey&)>& key_to_string,
                       const std::function<string(const Tvalue&)>& value_to_string,
                       const std::function<bool(const Tkey&, const Tvalue&,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

          mlir::MLIRContext* context, const Graph& graph,
          const GraphDebugInfo& debug_info,
          const FunctionLibraryDefinition& flib_def, const GraphImportConfig& specs,
          std::unordered_map<std::string, std::string>& tf_name_to_mlir_name,
          bool disable_crash_analysis = false);
    
     private:
      explicit GraphDefImporter(
          const FunctionLibraryDefinition& flib, const GraphDebugInfo& debug_info,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          const std::vector<int32_t>& results);
    
      BufferOffset<tflite::Operator> BuildCustomOperator(
          Operation* inst, mlir::TFL::CustomOp op,
          const std::vector<int32_t>& operands,
          const std::vector<int32_t>& results);
    
      std::optional<CustomOptionsOffset> CreateFlexOpCustomOptions(
          const ::tensorflow::NodeDef& node_def, const mlir::Location& loc);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top