Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for float_spl (0.14 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      if (!sgn_splat) return false;
    
      auto splat = dyn_cast<SplatElementsAttr>(float_or_int);
      if (auto float_spl = llvm::dyn_cast_if_present<FloatAttr>(splat),
          sgn_cst_spl = llvm::dyn_cast_if_present<FloatAttr>(sgn_splat);
          float_spl && sgn_cst_spl) {
        return IsSign(float_spl.getValue(), sgn_cst_spl.getValue());
      }
      if (auto int_spl = llvm::dyn_cast_if_present<IntegerAttr>(splat),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      ASSERT_THAT(op->outputs, SizeIs(1));
    
      auto float_graph = readonly_model_->subgraphs()->Get(0);
      auto float_op = float_graph->operators()->Get(0);
      const int float_input0_idx = float_op->inputs()->Get(0);
      const int float_input1_idx = float_op->inputs()->Get(1);
      const int float_output_idx = float_op->outputs()->Get(0);
      ASSERT_THAT(float_graph->tensors()->Get(float_input0_idx)->type(),
                  Eq(TensorType_FLOAT32));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity.pbtxt

              }
              dim {
                size: 1
              }
              dim {
                size: 256
              }
              dim {
                size: 186
              }
            }
            float_val: 1.0
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity_4bit.pbtxt

              }
              dim {
                size: 1
              }
              dim {
                size: 256
              }
              dim {
                size: 186
              }
            }
            float_val: 1.0
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. logger/sql_test.go

    			NumericRegexp: nil,
    			Vars:          []interface{}{"jinzhu?", 1, 999.99, true, []byte("12345"), tt, &tt, nil, "w@g.\"com", myrole, pwd, floatVal},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

              }
              dim {
                size: 1
              }
              dim {
                size: 256
              }
              dim {
                size: 186
              }
            }
            float_val: 1.0
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

              }
              dim {
                size: 1
              }
              dim {
                size: 256
              }
              dim {
                size: 186
              }
            }
            float_val: 1.0
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

            rewriter.setInsertionPoint(quantizing_op);
            Operation* float_op = rewriter.clone(*quantizing_op);
            quantizing_op->setAttr(kDebugModeOpQuantAttrName,
                                   rewriter.getUnitAttr());
            float_op->setAttr(kDebugModeOpFloatAttrName, rewriter.getUnitAttr());
            RewireFloatModelBackbone(quantizing_op, float_op);
            return success();
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. tensorflow/c/while_loop_test.cc

          params_->body_graph, "FakeQuantWithMinMaxArgs", "float_op");
      TF_AddInput(desc, params_->body_inputs[0]);
      TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      string msg(TF_Message(s_));
      EXPECT_NE(msg.find("Input 'inputs' passed int32 expected float while "
                         "building NodeDef 'float_op'"),
                msg.npos);
      TF_AbortWhile(params_.get());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library.mlir

      func.func @quantize_i8(%input : tensor<*xf32>, %scale : tensor<*xf32>, %zp : tensor<*xi32>) -> tensor<*xi8> {
        %float_zp = "tf.Cast"(%zp) {Truncate = false} : (tensor<*xi32>) -> tensor<*xf32>
        %div = "tf.Div"(%input, %scale) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
        %add = "tf.AddV2"(%div, %float_zp) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top